More awesomeness from the WebKit team: CSS Masks
From the Surfin’ Safari Blog:
WebKit now supports alpha masks in CSS. Masks allow you to overlay the content of a box with a pattern that can be used to knock out portions of that box in the final display. In other words, you can clip to complex shapes based off the alpha of an image.
It even can be applied to a video-element.
(Via Surfin’ Safari)
Have a comment?
Hit me up @krema@mas.to
Found something useful?
Say thanks with BTC or ETH
Edit on GitHub
Contribute to this post