Lesson 32 of 50
cssCSS Clip‑Path & Masking
7 mins
Course progress64%
What you'll learn
Keep this idea in mind as you work through the lesson.
Lesson 32 of 50
css7 mins
Keep this idea in mind as you work through the lesson.
clip-path cuts an element to a defined shape, while mask-image applies an image mask.
.card { clip-path:polygon(0 0, 100% 0, 100% 85%, 0 100%); }