How to style elements when you can't add a class | #shorts

Kevin Powell on YouTubeWatch on YouTube

SaveMark complete

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

ShortIntermediateUI1 min

About this video

A short CSS tutorial showing how to style an element using a pseudo-class or pseudo-selector when you cannot add a class to it.

What you’ll learn

  • Target an element with a pseudo-class instead of adding a class