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

How about adding two new functions with the same names as the existing keywords?

Font-weight: bolder(250); /* add 250 to the weight */
Font-weight: lighter(250); /* subtract 250 from the weight */
Font-weight: bolder; /* use the legacy behavior */

This doesn’t require a CSS-wise change.

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

Received on Wednesday, 29 January 2020 02:30:38 UTC