Re: ability to use background-color in any background layer

On Dec 4, 2014, at 9:29 AM, Anton Tsyganenko <anton-tsyganenko@yandex.ru> wrote:

> Please add an ability to use background-color in any background layer, like this:
> background: rgba(0, 0, 0, 0.5), url("background.png")
> It can be useful to darken or lighten a background.

This will be possible with the 'image()’ function defined in CSS3 Images[1].

	background: image(rgba(0,0,0,0.5)), url(‘background.png’);

Greetings,
Dirk

[1] http://dev.w3.org/csswg/css-images-3/#image-notation

Received on Monday, 8 December 2014 20:06:57 UTC