Re: Better Variables through Custom Properties

Le 25/10/11 08:30, Tab Atkins Jr. a écrit :

> :root {
>    data-indent: 10px;
> }
> ul {
>    data-indent: calc( parent-data(indent) + 10px );
> }

This may trigger endless discussions. This may delay the
basic feature. I suggest keeping this "at risk" while
focusing on the basic thing, making something equivalent to
variables _finally_ happen in CSS as soon as possible.
The above is the topping on the cake, not the cake itself.

Hey, with the proposed syntax, even Bert may like it...

</Daniel>

Received on Tuesday, 25 October 2011 07:11:59 UTC