Loading tutorials
text-*, bg-*, and border-*. It assumes you know basic HTML and CSS, including the box model. It also assumes you have a working Tailwind project or playground, and that you know hex and RGB notation. 6 min readbg-indigo-600 and text-slate-900, and that you know the CSS rgb() notation with an alpha channel. It covers the slash syntax that makes one color translucent, how it differs from the opacity-* utility, and the version differen4 min readrounded family of utilities, which set the CSS border-radius property. This chapter covers the size scale, per-side and per-corner control, the behavior that causes most bugs (clipping, nesting, and interaction with borders and rings), and how to pick a radiu4 min read:hover and :focus pseudo-classes do in plain CSS.5 min readring and outline utilities. It assumes you know basic HTML and CSS, including the box model. It also assumes you have used Tailwind utility classes and variants such as hover: and focus:, and that you have a working Tailwind projec6 min readdivide-* utilities, which draw lines between the children of a container. It assumes you know how Tailwind border width, style, and color utilities work (covered earlier in this tutorial), and that you can read the flex and flex-col utilities.5 min readprimary and danger need colors the palette doesn't have. This chapter shows how to add them in Tailwind CSS v3 and v4, how the new names become utility classes, and which mistake5 min readhover: works. Here you will learn how the dark: variant decides when it applies, how to switch that decision between the operating sys5 min readhover:, focus:, and dark: variants work. Here you will check whether the styles you write can be read and seen by everyone, including keyboard users and people with low vision.6 min readbg-white, border-slate-200, shadow-md, and the hover: and4 min read