A tutorial on using CSS mask-image with linear gradients and SVGs to create fade effects on scrolling containers, banners with irregular edges, and hexagonal image shapes. It suits designers who already work with CSS and want to build these visual effects in the browser.
What you’ll learn
✓Create a fade effect on a scrolling container with CSS mask-image and linear gradients
✓Build a banner with an irregular edge by combining an SVG with mask-image
✓Shape an image into a hexagon using an SVG and CSS mask-image