SCSS · Performance · Mid-Level · Best Practice
Are complex :nth-child selectors from SCSS loops costly?
Short Interview Answer
Can be harder to maintain and occasionally costly in complex DOMs; prefer classes for stateful styling.
Detailed Explanation
Generate clear class hooks instead of relying on structural selectors for core UI.