Re: [csswg-drafts] [css-fonts] font-weight: bolder and lighter are counter-intuitive (#2764)

>  I had mixed results with setting a var that refers to itself

Hopefully you had consistent reults i.e. that didn't work anywhere. CSS is declarative. All uses of a variable have the same value. There is no order of execution. It is no an imperative programming language.

That and other reasons (inheritance, initial value) is why 'CSS Variables' is now termed 'Custom Properties'.

-- 
GitHub Notification of comment by svgeesus
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/2764#issuecomment-579400382 using your GitHub account

Received on Tuesday, 28 January 2020 18:55:22 UTC