DEV Community

Discussion on: How to make a good looking text input with Tailwind CSS

Collapse
 
xerullian profile image
Patrick Nolen • Edited

Tailwind CSS has a purge option. When used in building for production, it removes all unused CSS making the build size very small.

tailwindcss.com/docs/optimizing-fo...

Collapse
 
alfiqmiq profile image
Marek

I believe that learning CSS is a much better solution than learning CSS overlay. Instead of learning something that has limited possibilities, it is better (looking ahead) to learn CSS (possibly SASS / SCSS) to know how and why to use specific things. Unfortunately, nowadays in many places there is a stupid rule to load ready-made libraries instead of learning how to use documentation for certain things and shorten everything to a few lines of code (HTML, CSS or JS). Then people wonder why in one project everything works quickly and in another it seems the same but the browser gets crazy. Of course you can always say get yourself a faster computer...