W3C home > Mailing lists > Public > public-css-archive@w3.org > December 2017

[csswg-drafts] [css-conditional-3] Specific font families?

From: Shane Hudson via GitHub <sysbot+gh@w3.org>
Date: Wed, 27 Dec 2017 20:45:05 +0000
To: public-css-archive@w3.org
Message-ID: <issues.opened-284793108-1514407504-sysbot+gh@w3.org>
ShaneHudson has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-conditional-3] Specific font families? ==
Would it be feasible to add the ability to use `@supports` for checking if particular font-families available?

For instance something like:

```
@supports (font-family: georgia) {
    body {
        font-size: 1.1em;
    }
}
```
The main use-case for this would be improving (and indeed testing, by misspelling) typography for fallbacks. This is especially useful for fonts that have very different sizes by default, in which changing the font could make the layout look odd.

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/2139 using your GitHub account
Received on Wednesday, 27 December 2017 20:45:11 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:41:21 UTC