DEV Community

[Comment from a deleted post]
Collapse
 
ignorabilis profile image
Irina Yaroslavova Stefanova

Chunks of properties are way more composable than properties themselves. And the overhead of naming can be huge... Especially in a larger project. And changing the css in larger projects can be a nightmare, so it rarely gets changed and instead after each new feature a specific chunk of css gets added, leaving the rest of the css unchanged out of fear. Otoh sprinkling chunks in your html, i.e. building properties out of chunks, rarely forces you to write new css (which also means that your css won't grow). And finally with inline css you can't use media queries or pseudo classes and if you tried it it's way more verbose than a dozen of class names.