Learn when to nest CSS selectors and when to avoid it. Nesting pseudo-selectors, parent modifiers, media queries, and selectors that don't work without nesting is recommended. CSS naming conventions such as BEM and SUIT recommend decreasing the specificity of selectors whenever possible.
1 Comment
Sort: