Clip an image to text with CSS

Kevin Powell on YouTubeWatch on YouTube

SaveMark complete

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

IntermediateUI4 min

About this video

A short CSS tutorial showing how to clip a background image to text using background-clip: text, with the text made transparent so the image shows through. It is aimed at people who already write CSS.

What you’ll learn

  • Apply background-clip: text to show a background image through text
  • Make text transparent so a clipped background is visible