DEV Community 👩‍💻👨‍💻

Discussion on: Understanding Tailwind CSS

prakhart111 profile image
Prakhar Tandon

That strange thing is the JIT mode.
As said here,

JIT compiler avoids compiling all the CSS upfront and compiles only the CSS as and when we need it. This results in lightning-fast build times in all the environments.

So basically it's faster and consumes even less space.
Once one get used to with TailWind, it's awesome!

afif profile image
Temani Afif

How "using a strange class that will later be processed to get transformed into a CSS declaration" can be faster that simply "writing the CSS inline with no processing needed" ?