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 GMT
This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:53:58 GMT