The easiest improvement you can make to your CSS

Kevin Powell on YouTubeWatch on YouTube

SaveMark complete

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

ShortIntermediateWeb DesignUI1 min

About this video

A short CSS tip explaining that removing focus outlines with outline: none harms keyboard navigation, and that outline-color: transparent is a better way to hide the outline while keeping it accessible.

What you’ll learn

  • Replace outline: none with outline-color: transparent on focus styles