DEV Community

Discussion on: Why I switched from normal CSS to Tailwind CSS

Collapse
 
ashishk1331 profile image
Ashish Khare😎

Same bruv, I also use raw css but follow the CUBE methodology. Really love exceptions in that. Amen to what you said!

Collapse
 
sebbdk profile image
Sebastian Vargr

Nice, never heard of CUBE before, reading about it now, and i am really liking the different perspective, thanks!

Thread Thread
 
shawnwildermuth profile image
Shawn Wildermuth

The magic everyone misses in these languages is @apply. You start with the classes, then you can build the classes that are just a merging of those classes. Start with classes, deploy with @apply.

Thread Thread
 
sebbdk profile image
Sebastian Vargr

Looked it up briefly, it looks a lot like @mixins/include in sass but without the output duplication.
I hope something like this makes it into the CSS spec soon'ish. :)