Nesting Styles in Preprocessors

designmodo on YouTubeWatch on YouTube

SaveMark complete

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

IntermediateUI5 min

About this video

The tutorial shows how to set styles for separately coloured boxes and their hover states using nested styles in a CSS preprocessor. It covers nesting multiple boxes and adjusting size, labelling and margins for each element. Viewers are expected to understand basic coding principles.

What you’ll learn

  • Nest multiple styled boxes in a CSS preprocessor
  • Set hover states for each coloured box
  • Adjust size, labels and margins of nested elements