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

Re: Multiple Background Images

From: Staffan Mhln <staffan.mahlen@comhem.se>
Date: Tue, 30 Nov 2004 21:17:30 +0100
To: fantasai <fantasai.lists@inkedblade.net>
Cc: www-style@w3.org
Message-ID: <41ACE36A.28924.9D93A9@localhost>

Ok, so the multi-backgrounds cannot be controlled the way an element or a pseudo-
element can and only the background-XX properties are "arrayed" then?

Is the effect that they allow important enough to justify introducing a special new type of 
arrayed properties? 
 /Staffan


On 30 Nov 2004 at 13:43, fantasai wrote:

> 
> Staffan Mhln wrote:
> > On 28 Oct 2004 at 10:51, Lachlan Hunt wrote:
> > 
> >>>Given the following hypothetical CSS3:
> >>>
> >>>body { background: url(foo) url(bar); }
> >>>
> >>>Which background is painted on the bottom, and which is painted on the top?
> > 
> > I would probably first ask: how will an author set say size or opacity of one of those 
> > background-images?
> 
> I'll go with the example of repeat, since that property already exists
> since CSS1. :)
> 
> background: url(foo) repeat-y, url(bar) no-repeat;
> 
> or
> 
> background-image: url(foo), url(bar);
> background-repeat: repeat-y, no-repeat;
> 
> ~fantasai
> 
Received on Tuesday, 30 November 2004 20:18:03 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:54:34 GMT