Re: CSS Textures

>   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 UTC