Purgecss is a really cool tool for removing unused CSS based on an analysis of your HTML. For example, unused classes.
https://www.purgecss.com/
This gives CSS libraries much more scope to add features without hurting bundle size!
miniblog.
Related Posts
What languages have changed the most since their creation?
JS? IIFEs and prototypes to modules and classes.
C++? Plain pointers to smart pointers.
There must be more dramatic examples.
This announcement of VisualAge 1.0 for Java (released 1997) is cute. How could Java be revolutionary without a "new killer op-code or do-loop"?
I particularly like how the free edition limits you to creating 100 classes.
"it’s safer to add or remove classes on a specific HTML node than to add or remove styles in a class that applies on many elements"
A defence of utility-first CSS, and how semantic classes can convey less information:
