DEV Community


Discussion on: How to Build a SubAtomic Frontend Architecture

applicafroguy profile image
Sivuyile Magutywa

I need to visit my CSS-Styles, Atomic CSS is way more readable than BEM, though I don't like writing to many classes in HTML, So thank you for this Article. Naming CSS classes is very hard for me.

maxwell_dev profile image
Max Antonucci Author

I agree, it definitely helps make them more readable from a "what will it actually look like" perspective. BEM styles could have any number of CSS properties attached, while Atomic classes are more explicit about things like padding, coloring, even responsive styles.

CSS Tricks recently wrote an article about ways to group these classes to help readability even more, is worth a look -