RE: [css-variables] Hidden costs.

> >> Neither is optimal.
> >
> > I don't understand why the developer is not assigning class values to
> > these cells based on where their data is coming from, nor do I
> > understand how variables is solving this person's problem.
> 
> They are.  Variables help here because they can use the variable in a
> declaration block for the class, and then just tweak the var to change the
> value.
> 
> In effect, the var is acting like a reference into the stylesheet here.

Right. I still don't understand why they need variables to do this. They could
stick those classes in a separate stylesheet and dynamically mess with it today.

Received on Thursday, 17 February 2011 04:33:38 UTC