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:
parent
11137f8079
commit
26b564eca4
|
@ -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; }
|
||||
}
|
||||
```
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue