Roast topics
Find topics
Roast it!
Roast topics
Find topics
Find it!
Login
From:
Patrick Brosset
(Uncensored)
subscribe
Making puzzle pieces with CSS mask-image and SVG masks
https://patrickbrosset.com/articles/2023-12-06-making-puzzle-pieces-with-css-mask-image-and-svg-masks/
links
backlinks
This week, I was working on a little demo page to learn more about CSS masking with SVG. The page is a puzzle game where each piece is a single DOM element, and is masked with an SVG mask, to give it the shape of a puzzle piece.