3 super small changes to improve your CSS

Kevin Powell on YouTubeWatch on YouTube

SaveMark complete

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

IntermediateWeb DesignUI14 min

About this video

A short CSS tutorial covering three small changes that improve accessibility: avoiding outline-color transparent, respecting prefers-reduced-motion for users sensitive to motion, and using focus-visible for keyboard focus styles. It is aimed at developers who already write CSS.

What you’ll learn

  • Replace transparent outlines with visible focus indicators
  • Respect prefers-reduced-motion in CSS animations
  • Apply focus-visible to show focus rings only when needed