Css - Web development basic Series: The CSS Outline Property

Web Development Tutorials on YouTubeWatch on YouTube

SaveMark complete

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

BeginnerDesign Engineering2 min

About this video

This short tutorial shows how the CSS outline property differs from a border, using outline-offset and a color change on focus. It is aimed at beginners learning CSS.

What you’ll learn

  • Add a CSS outline to an element and style its color and dash pattern
  • Offset an outline away from a border with outline-offset
  • Change an outline's color on focus to make keyboard focus visible