3 ms·
Instead of using canvas, for webkit at least it makes more sense to use http://webkit.org/blog/181/css-masks/ http://webkit.org/blog/181/css-masks/ Canvas is a
by jacobolus 16y ago
Instead of using canvas, for webkit at least it makes more sense to use http://webkit.org/blog/181/css-masks/ http://webkit.org/blog/181/css-masks/ Canvas is a good fall-back for other browsers.
- thegrossman 16y agoYeah, CSS masks make a lot of sense. Internet Explorer also has some weird filter properties that almost -- but not quite -- do what we need. If someone can figure it out, it would be significantly better than using FlashCanvas.
- devongovett 16y agoYou would have to invert the mask so that the black was the content you wanted to keep and the white was the content you wanted transparent to get it to work with CSS masks, instead of the other way around as in this demo.