Functional CSS

Come across a blog post talking about functional CSS. It cleared a lot of confusion I had with CSS conventions.

– Namespace your classess with string prefixes, faking scope and minimizing surprises
– Use composition instead of overriding rules
– Try avoid enforcing DOM structure

Advertisements
Standard