Re: CSS Textures

Ernest Cline wrote:
> The problem is that any useful texture proposal would be no easier than
> using images from either the POV of the user or the computer and would
> add nothing that images don't already add. So there is no reason to
> add textures to CSS.  Textures are already there as a use case of images.

   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 

   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.

Lachlan Hunt

Received on Wednesday, 12 May 2004 06:42:37 UTC