CSS Tutorial: Outline and Outline Offset

Kevin Powell on YouTubeWatch on YouTube

SaveMark complete

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

BeginnerUI8 min

About this video

Kevin Powell explains the CSS outline property, how it differs from border, and how to use it to make a simple button. The video suits people learning front-end CSS.

What you’ll learn

  • Apply the CSS outline property to page elements
  • Explain how outline differs from border
  • Use outline and outline-offset to style a button