W3C home > Mailing lists > Public > www-style@w3.org > September 2011

background-opacity property proposal

From: Marat Tanalin <mtanalin@yandex.ru>
Date: Tue, 06 Sep 2011 01:14:27 +0400
To: www-style@w3.org
Message-Id: <42951315257267@web10.yandex.ru>
Hello. It would be nice to have background-opacity property.

It's like rgba() but far more useful: background-opacity property could control opacity of _entire_ background including background color _and_ image together.

For example, currently we are limited to apply CSS transitions to only background color opacity (via rgba()) which is useless in most of cases when an element have not only background-color, but also background-image assigned. background-opacity would allow to control and animate opacity of entire background:

example {background: #000 url(example.jpg); background-opacity: .5; }

Thanks.
Received on Monday, 5 September 2011 21:16:36 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:44 GMT