mask-image lets you do some really cool stuff

Kevin Powell on YouTubeWatch on YouTube

SaveMark complete

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

IntermediateUIWeb Design7 min

About this video

A CSS tutorial demonstrating how to use mask-image to fade out an image and create shape-based masks. It is aimed at developers and designers who already write some CSS.

What you’ll learn

  • Fade out an image using the mask-image property
  • Fix layout issues that appear when masking an element
  • Mask an image with a shape