Advanced CSS | Creating image masks

VirtualAddiction on YouTubeWatch on YouTube

SaveMark complete

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

AdvancedWeb Design18 min

About this video

Shows how to use CSS masks to cut custom shapes out of images, using gradients, SVG and images as masks. It also covers combining masks with background-image and background-color for layered visual effects, for developers and designers who already work with CSS.

What you’ll learn

  • Apply a CSS mask to an image to create a custom shape
  • Combine a mask with background-image and background-color for layered effects
  • Choose between gradient, SVG and image masks for a given design