Remove all styling with one line of CSS

Kevin Powell on YouTubeWatch on YouTube

SaveMark complete

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

IntermediateUI6 min

About this video

The video shows how to remove all styling from an element with a single line of CSS, using the all property and the unset value. It gives a clean starting point for restyling an element.

What you’ll learn

  • Remove all styling from an element with the all property
  • Reset property values to inherit or initial with unset
  • Restyle an element starting from a clean slate