- From: Ka-Ping Yee <s-ping@orange.cv.tottori-u.ac.jp>
- Date: Sat, 07 Sep 1996 18:56:04 +0900
- To: "Scott E. Preece" <preece@predator.urbana.mcd.mot.com>
- CC: bbos@mygale.inria.fr, lee@sq.com, www-style@w3.org
Scott E. Preece wrote:
>
> Another alternative would be to provide a way of defining a font-family,
> which could then be used in the normal font-family specification. Like:
> define-font-family: { name: sans;
> normal: 12pt/14pt sans-serif;
> italic: 14pt blado, 14pt sans-serif
> ...}
> this admittedly doesn't fit very neatly in the current CSS1 form, which
> has no space for declarative specifications...
Not necessarily. I just wanted to note that you *can* make declarations
using @-rules. Bert Bos suggested the following for doing shadows:
@shadow unsharp-gray-shadow {
x: 0.3em;
y: 0.3em;
color: gray;
transparency: 80%;
blur-type: gaussian;
blur-radius: 0.1em
}
H1.headline {
text-decoration: shadow(unsharp-gray-shadow);
...
}
Ping
Received on Saturday, 7 September 1996 06:01:17 UTC