Skip to content

Commit

Permalink
explicit where swap
Browse files Browse the repository at this point in the history
  • Loading branch information
zachleat committed Apr 20, 2018
1 parent e74cdfb commit e4f6cb6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ As web fonts are a progressive enhancement and with increasing support for the C
* [Read more](https://www.zachleat.com/web/comprehensive-webfonts/#preload)
* [Demo](https://www.zachleat.com/web-fonts/demos/preload.html)** _(4 web fonts—1 preloaded)_

### `font-display` and `preload`
### `font-display: swap` with `preload`

* [Code](./font-display-preload.html)
* Read more about [`font-display`](https://www.zachleat.com/web/comprehensive-webfonts/#font-display) and [`preload`](https://www.zachleat.com/web/comprehensive-webfonts/#preload)
Expand Down Expand Up @@ -130,7 +130,7 @@ You’ll probably see blog posts on these at some point.
* [Read more](https://www.zachleat.com/web/comprehensive-webfonts/#async-data-uri)
* [Demo](https://www.zachleat.com/web-fonts/demos/async-data-uri.html) _(4 web fonts)_
* ⚠️ Anything that injects a new `<style>` with `@font-face` blocks inside. Really bad repaint cost—seriously, don’t do this.
* `preload` with `font-display: optional`
* ⚠️ `font-display: optional` and `preload`
* [Code](./font-display-optional-preload.html)
* [Read more: `preload` with `font-display: optional` is an Anti-pattern](https://www.zachleat.com/web/preload-font-display-optional/)
* [Demo](https://www.zachleat.com/web-fonts/demos/font-display-optional-preload.html)** _(4 web fonts)_
Expand Down

0 comments on commit e4f6cb6

Please sign in to comment.