- From: Henrik Andersson <henke@henke37.cjb.net>
- Date: Thu, 23 May 2013 20:40:10 +0200
- To: Rik Cabanier <cabanier@gmail.com>
- CC: robert@ocallahan.org, Jeremie Patonnier <jeremie.patonnier@gmail.com>, "public-fx@w3.org" <public-fx@w3.org>, www-style list <www-style@w3.org>, www-svg <www-svg@w3.org>, David Baron <dbaron@dbaron.org>
Rik Cabanier skriver: > > > On Thu, May 23, 2013 at 4:22 AM, Henrik Andersson <henke@henke37.cjb.net > <mailto:henke@henke37.cjb.net>> wrote: > > Rik Cabanier skriver: > > > > From http://www.myprovence.fr/en#p_home, notice the pulldown tab that > > says "An event MP2013". > > The designer had to rasterize this to an image because there's no > way to > > draw this with CSS. If he had blending, he could have drawn the > text as > > a black div with white glyphs and apply a 'darken' blend mode. This > > blend mode would pick the darkest color, which in this case would > be the > > clouds and the sky of the backdrop. > > I'd call that an inverted mask. Not a blend mode. > > > How would you do an inverted mask in HTML? > This is a valid use case for blend modes. Indeed, how? CSS masking does not currently support inverted masks. But it could easily be adjusted to allow for inverse masks.
Received on Thursday, 23 May 2013 18:41:01 UTC