W3C home > Mailing lists > Public > www-style@w3.org > November 2009

Re: [gradients] basics

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Sun, 8 Nov 2009 21:09:45 -0600
Message-ID: <dd0fbad0911081909g792d2667q9e35f88552c88c3d@mail.gmail.com>
To: news@terrainformatica.com
Cc: Brad Kemper <brad.kemper@gmail.com>, Simon Fraser <smfr@me.com>, www-style <www-style@w3.org>
On Sun, Nov 8, 2009 at 9:06 PM, Andrew Fedoniouk
<news@terrainformatica.com> wrote:
> background: url(...), linear-gradient(magenta yellow)
>
> It makes no sense - just waste of resources.

Huh?  That makes perfect sense - it's an element with two background
layers.  The url() references an image on the uppermost layer, and the
gradient is on the lower level.  If the first layer has any
transparency, it will show the gradient behind it, exactly as
expected.

~TJ
Received on Monday, 9 November 2009 03:10:37 GMT

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