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

Re: CSS Textures

From: Anne van Kesteren (fora) <fora@annevankesteren.nl>
Date: Wed, 12 May 2004 12:45:20 +0200
Message-ID: <40A20040.8000707@annevankesteren.nl>
To: Lachlan Hunt <lachlan.hunt@iinet.net.au>
Cc: ernestcline@mindspring.com, www-style@w3.org

>   True, but it would be nice to be able to add some kind of texture to 
> text (whether it be a gradient, pattern or image), rather than just 
> backgrounds.
> 
>   Using image replacement for this purpose can be somewhat limited, 
> especially when you want to apply texture to multiple headings, or other 
> blocks of text.  Also, if multiple text blocks needed the same texture, 
> you wouldn't need seperate images and style rules for each one.
> 
> for example:
> p {
>     background: url("/images/background");
>     foreground: url("/images/foreground");
> }
> 
>   Would render the background as usual, but it would paint the text with 
> the texture from the foreground image.

What does 'foreground' that '::outside', in a more general way, does not?


-- 
  Anne van Kesteren
  <http://annevankesteren.nl/>
Received on Wednesday, 12 May 2004 06:46:03 GMT

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