Kevin Powell compares native CSS nesting with Sass nesting, looking at where the two behave the same and where they differ, including selector and specificity differences. He also considers how Sass may handle native CSS nesting going forward.
What you’ll learn
✓Explain why CSS nesting requires the & selector for element selectors
✓Compare specificity and selector behaviour between CSS and Sass nesting