[csswg-drafts] [css-fonts] font-weight: bolder and lighter are counter-intuitive

Netmosfera has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-fonts] font-weight: bolder and lighter are counter-intuitive ==
I'm not sure if it will be possible with future `calc()` improvements, but it would be great if it was possible to write:

```css
strong {
    font-weight: calc(inherit + 100); /*
    font-weight: calc(inherit + 200);
    font-weight: calc(inherit + 300);
    font-weight: calc(inherit + 400);
    font-weight: calc(inherit + 500);
    font-weight: calc(inherit + 600);
    font-weight: calc(inherit + 700);
    font-weight: calc(inherit + 800); */    
}
```
As opposed to `bolder` and `lighter` that are really hard to use and that never do what the designer wants.

Thanks in advance.

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/2764 using your GitHub account

Received on Thursday, 14 June 2018 15:30:00 UTC