W3C home > Mailing lists > Public > www-style@w3.org > October 2013

Re: [filter-effects] filter different components of an element

From: François REMY <francois.remy.dev@outlook.com>
Date: Fri, 11 Oct 2013 13:49:44 +0200
Message-ID: <DUB120-DS18071870D5B6D709D38829A51F0@phx.gbl>
To: "Dirk Schulze" <dschulze@adobe.com>, "Kang-Hao \(Kenny\) Lu" <kanghaol@oupeng.com>
Cc: "Brad Kemper" <brad.kemper@gmail.com>, "Lea Verou" <lea@verou.me>, "WWW Style" <www-style@w3.org>, 张 金龙 <jinlongz@oupeng.com>
> Well, with the filter function you have opacity(). It might be some kind 
> of violation of this feature, but well:
> background-image: filter(image.png, opacity(0.5));
> Greetings,
> Dirk

(note however that it does not work if you use multiple backgrounds that 
overlap: they get reduced opacity before background compositing, and you may 
want to apply the reduced opacity on the final, composited background) 
Received on Friday, 11 October 2013 11:49:55 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:51:03 UTC