News for hackers. Stuff that matters.
Re:TailwindCSS v2.0 by rubans on Wednesday November 18, 2020 @03:31PM (#25142075)
Yes but you shouldn't do that really. You should use a view templating system instead to recycle the patterns you spot, e.g. button.tpl would contain the abstraction of classes.

The moment you collapse the classes in to a single class you're back to square one and the reason functional CSS arose be first place.

Adam Wathan promotes this pattern himself in this video.

https://youtu.be/J_7_mnFSLDg

There are no comments on this comment yet.