1
0
mirror of https://github.com/kremalicious/blog.git synced 2024-06-24 10:16:27 +02:00
blog/_src/_posts/2008-04-28-more-awesomeness-from-the-webkit-team-css-masks.markdown

1.0 KiB

author comments date layout slug title wordpress_id categories
Matthias Kretschmann true 2008-04-28 12:53:18+00:00 post more-awesomeness-from-the-webkit-team-css-masks More awesomeness from the WebKit team: CSS Masks 44
design

WebKitThey won't stop with their cutting edge love. After having text-shadow implemented since many years and having a bunch of other cool stuff implemented like CSS gradients or CSS box-shadow the WebKit team freshly announced a new cool feature: CSS alpha 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)