Preface to the Second Edition
This book covers Tailwind 3.0, which significantly changes the way Tailwind CSS works and the way most developers will interact with it.
Tailwind 3.0 adds a just-in-time (JIT) engine, which changes the way Tailwind determines what Cascading Style Sheets (CSS) code to generate and make available to the browser. Tailwind is a large set of CSS classes that each stand in for some set of CSS properties. In previous versions, Tailwind generated a list of its CSS classes and then allowed you to specify any classes in that list you wanted removed to limit the size of the Tailwind file for performance purposes.
The JIT engine reverses that process. The Tailwind command-line tool now starts with an empty file and adds utility ...
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