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

Re: Multiple Background Images

From: fantasai <fantasai.lists@inkedblade.net>
Date: Tue, 30 Nov 2004 13:43:14 -0500
Message-ID: <41ACBF42.2060806@inkedblade.net>
To: www-style@w3.org

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 18:10:59 GMT

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