3 ms·
The ugliness is a feature. Declare HTML components that encapsulate the classes. Then each component is stand-alone WYSIWYG and composes easily with others.
by naasking 3y ago
The ugliness is a feature. Declare HTML components that encapsulate the classes. Then each component is stand-alone WYSIWYG and composes easily with others.
- The5thElephant 3y agoExcept you still see the encapsulated classes when you inspect it in production, and often that is where the bugs appear and need to be figured out. The ridiculous class strings get particularly hilarious when anything beyond basic CSS is used. Want CSS variables? Now it's even less readable!
- naasking 3y agoReading them is easy, that's one of the main benefits of atomic CSS. WYSIWYG.