W3C home > Mailing lists > Public > public-css-archive@w3.org > June 2018

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

From: Wes via GitHub <sysbot+gh@w3.org>
Date: Thu, 14 Jun 2018 15:29:43 +0000
To: public-css-archive@w3.org
Message-ID: <issues.opened-332453506-1528990182-sysbot+gh@w3.org>
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

This archive was generated by hypermail 2.3.1 : Thursday, 14 June 2018 15:30:02 UTC