CSS box-shadows - how to make them look good

Kevin Powell on YouTubeWatch on YouTube

SaveMark complete

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

IntermediateUI14 min

About this video

Shows how to use CSS box-shadow in ways that improve interface designs, starting with subtle shadows and then how blur size changes the perceived height of an element. Draws on Material Design elevation guidance and includes CodePen examples.

What you’ll learn

  • Apply subtle box-shadows that support rather than distract from a layout
  • Use blur size to suggest how far an element sits above its background
  • Adjust shadow values in CSS to match a Material-style elevation system