The differences between CSS and Sass Nesting

Kevin Powell on YouTubeWatch on YouTube

SaveMark complete

Sign in to save videos and track what you’ve finished.

IntermediateUI12 min

About this video

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
  • Assess how Sass may adapt to native CSS nesting