Organisation for CSSs
CSS organisation is how teams structure stylesheets so they stay maintainable. Methodologies such as BEM, utility-first and CSS Modules give naming or scoping rules that prevent clashes, and tooling like Sass, PostCSS, minifiers and linters handles compilation, prefixes and consistent formatting.
Stage: Architecture · Part of the CSS roadmap · Last reviewed 19 November 2026
What to learn in Organisation
- Name components using the BEM block, element and modifier pattern
- Compare utility-first CSS with component-scoped styles
- Compile Sass partials with variables and nesting into one stylesheet
- Configure Stylelint to enforce consistent rules
- Keep specificity low and avoid deep selector chains
Organisation interview questions
What problem does BEM solve?
BEM names classes as block__element--modifier, such as card__title--large, so each class is self-describing and specificity stays flat. It prevents accidental style clashes in large stylesheets and makes the relationship between markup and CSS obvious.
Why keep selector specificity low?
High specificity forces later rules to use even higher specificity or !important to override, which makes styles brittle. Flat, class-based selectors are easy to override, reuse and reason about as a stylesheet grows.
Where Organisation fits in the CSS roadmap
Organisation belongs to the Architecture stage (intermediate level), which takes about 13 hours. Scale your styles.