3 tricks to improve your CSS

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 shows three ways to use CSS custom properties to write cleaner stylesheets: easier styling of modifier classes, simplifying abstract CSS, and creating shorthands where none exist. It is aimed at people who already write CSS.

What you’ll learn

  • Style modifier classes more easily with custom properties
  • Simplify abstract CSS using custom properties
  • Create shorthand properties where CSS does not provide one