- From: Daniel GLAZMAN <daniel.glazman@der.edf.fr>
- Date: Mon, 04 Jan 1999 05:33:11 +0100
- To: Jelks Cabaniss <jelks@jelks.nu>
- CC: www-style@w3.org
Jelks Cabaniss a écrit : > > @define myTheme(x,y) = "color: $x; background: $y;" > > Making CSS a programming language raises the hair on the back of my neck. In fact, I'd really like to say : @define my_property(my_value) { declarations } where my_property and my_value are defined as IDENT. and then use my_property : my_value For instance : @define edf-style(visit-card) { font-family : frutiger ; font-size : 8pt ; font-variant : small-caps ; text-align : center ; margin : 0.2cm 0cm } ... HTML.slide P.identity { edf-style : visit-card ; position : absolute ; width : 5cm ; height : 2.7cm ; right : 0cm ; bottom : 0cm } ADDRESS { edf-style : visit-card } </Daniel>
Received on Monday, 4 January 1999 02:25:33 UTC