Re: [css-variables] ...let's change the syntax

On Mon, Mar 31, 2014 at 1:23 PM, Andrew Fedoniouk
<news@terrainformatica.com> wrote:
> (For the sake of symmetry) why not to use var(name) as a name
> of CSS property ? So it will be something like this:
>
> div {
>    var(profile-image-height) :  64px;
> }
>
> div > img {
>     height: var(profile-image-height);
> }
>
> If UA does not understand that construct it will
> drop both declarations all together.
>
> (my pardon for repeating my question again)

My pardon for repeating my answer again: increased symmetry is the
exact opposite of what I'm going for here.

~TJ

Received on Monday, 31 March 2014 20:45:02 UTC