W3C home > Mailing lists > Public > www-style@w3.org > August 1996

Re: Shadows.

From: David Perrell <davidp@earthlink.net>
Date: Tue, 6 Aug 1996 13:44:13 -0700
Message-Id: <199608062044.NAA20066@iberia.it.earthlink.net>
To: <www-style@w3.org>
Cc: <www-html@w3.org>

Hakon Lie proposed a notation for shadow text decoration as

  text-decoration: shadow(red, 0.1em, 0.2em, 70%, 30%);

  /* color, x-offset, y-offset, transparency, bluriness */

With support for multiple shadows, this proposal addresses all but
the most bizarre uses of duplicated text.

A consistent measurement for shadow is needed. Gaussian blur is the
usual method for blurring shadows, and this is specified as the
diameter of the area over which the effect propagates, not a
percentage.

Scott Preece suggested an SRC=url form for bitmap shadows. This
limits an effect that would be more useful elsewhere. Background can
be either a color or a url. Why not color? As in:

  color: url(http://tex.com/texture.gif);

Color as a url would allow texture bitmaps in both text and shadow.

Drop shadow is not just a text decoration. How about shadow as a
property for block elements, also?

David Perrell
Received on Tuesday, 6 August 1996 16:45:46 GMT

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