CodeZettaInterview Hub

SCSS · Nesting · Fresh / Intern · Concept

What is SCSS nesting and what problem does it solve?

Short Interview Answer

Nesting mirrors HTML structure in CSS selectors, reducing repetition of parent selectors.

Detailed Explanation

Compiled output flattens to descendant/compound selectors. Over-nesting creates overly specific CSS — a classic maintainability issue.

Did you know this answer?