- From: Marat Tanalin <mtanalin@yandex.ru>
- Date: Tue, 09 Dec 2014 20:30:52 +0300
- To: Tab Atkins Jr. <jackalmage@gmail.com>, Anton Tsyganenko <anton-tsyganenko@yandex.ru>
- Cc: www-style list <www-style@w3.org>
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