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

09.12.2014, 00:32, "Tab Atkins Jr." <jackalmage@gmail.com>:
> On Thu, Dec 4, 2014 at 12: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.
>
> Once browsers support the image() function
> <http://dev.w3.org/csswg/css-images-3/#color-images> you'll be able to
> generate solid-color images easily, which has the same effect.

So why use `image()` wrapper for a color if we could use the color itself even more easily?

Received on Tuesday, 9 December 2014 17:31:26 UTC