Lesson 32 of 50 · css
CSS Clip‑Path & Masking
Duration: 7 mins
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%); }
Lesson 32 of 50 · css
Duration: 7 mins
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%); }