
The CSS Universe with Austin Gil - JSJ 592
JavaScript Jabber
How to Use Tailwind to Generate CSS for Your Project
The way tailwind works is essentially it used to be that it would like do a build time step and generate your entire CSS file for you. Now what it does is sort of more on a dynamic approach that it only creates the CSS that it sees in your project so as you add class names in your project it will start constructing thecss file for you So really it depends in the order that the tailwind transpiler walks through your project and finds those class names if it comes across background purple first that will be the first one in the style sheet. Later on if it comes and discovers background red that will be appended after background purple That sounds like a big mess it's something yeah
00:00
Transcript
Play full episode
Remember Everything You Learn from Podcasts
Save insights instantly, chat with episodes, and build lasting knowledge - all powered by AI.