What the Tailwind CLI Does
Tailwind, as a set of utility classes, provides a wide variety of patterns that you can use to assign CSS classes to HTML elements in your code.
When you use Tailwind, you write CSS classes whose names match the patterns Tailwind defines. For example, you write <div class="m-4"> and Tailwind defines that in CSS as .m-4 {margin: 1rem;}. Tailwind has the potential to define millions of different CSS classes given that the patterns are both extensive and can be combined with different modifiers, and can even in many cases use arbitrary values. In fact, it’s not feasible to enumerate all the potential classes Tailwind might define or use, and your project is likely to only use a small fraction of those classes.
Defining ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access