Advanced CSS | Using background clip

VirtualAddiction on YouTubeWatch on YouTube

SaveMark complete

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

IntermediateWeb Design17 min

About this video

This video explains the CSS background-clip property and how it works with background-color and background-size to create transparent backgrounds and images confined to parts of an element. It then shows how to fill text with an image and build an animated gradient background that fills text.

What you’ll learn

  • Control how a CSS background extends within an element using background-clip
  • Combine background-clip with background-color and background-size for visual effects
  • Fill text with an image or an animated gradient using CSS