Re: css variables

Página superior
Adjuntos:
Obtener este mensaje como un correo
+ (text/plain)
+ (text/html)
+ (text/plain)
Eliminar este mensaje
Responder a este mensaje
Autor: Judd Pickell
Fecha:  
A: Main PLUG discussion list
Asunto: Re: css variables
I am not aware of anything in the CSS specification that actually allows
that, generally for doing that kind of stuff you would pull the css in
through javascript, or use the js DOM to mod the information on the fly.

On 2/7/07, Craig White <> wrote:
>
> I can't find anything in w3.org specifications on stylesheets that
> suggests that I can do this but is it possible to have a 'variable' that
> I could substitute within a single stylesheet?
>
> What I am looking for is to define a color - say medblue = #466AD2
>
> and then use &medblue; or whatever to refer to it in various
> classes/id's
>
> Possible?
>
> --
> Craig White <>
>
> ---------------------------------------------------
> PLUG-discuss mailing list -
> To subscribe, unsubscribe, or to change you mail settings:
> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
>

---------------------------------------------------
PLUG-discuss mailing list -
To subscribe, unsubscribe, or to change you mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss