1
0
Fork 0
mirror of synced 2024-05-17 11:03:33 +12:00

Add an example: using the variable font in CSS

See [Implementing a variable font with fallback web fonts](https://www.zeichenschatz.net/typografie/implementing-a-variable-font-with-fallback-web-fonts.html) for why this syntax
This commit is contained in:
drify 2019-10-18 08:55:38 +01:00 committed by Nikita Prokopov
parent 11137f8079
commit 26b564eca4

View file

@ -154,7 +154,11 @@ See [How to enable](https://github.com/tonsky/FiraCode/wiki/How-to-enable-stylis
```css
/* Specify in CSS */
font-family: 'Fira Code', monospace;
code { font-family: 'Fira Code', monospace; }
@supports (font-variation-settings: normal) {
code { font-family: 'Fira Code VF', monospace; }
}
```