diff --git a/README.md b/README.md index f73ae044f..bb19a47b5 100644 --- a/README.md +++ b/README.md @@ -25,30 +25,27 @@ several [OpenType features](https://rsms.me/inter/#features), like contextual al ## Using & installing Inter -[**Download the latest font files…**](https://github.com/rsms/inter/releases/latest) - -Using Inter on a web page: - -```html - - -``` - ```css :root { font-family: 'Inter', sans-serif; } @supports (font-variation-settings: normal) { - :root { font-family: 'Inter var', sans-serif; } + :root { font-family: 'InterVariable', sans-serif; } } ``` + + +Using Inter on a web page; [**Download the latest font files…**](https://github.com/rsms/inter/releases/latest) and add the following HTML in your document's `
`: + +```html + +``` + For web pages, there's an official [CDN distribution](https://rsms.me/inter/inter.css) that you can use directly without having to host the font files yourself: ```html - ``` - ### Alternate distributions - [NPM `inter-ui`](https://www.npmjs.com/package/inter-ui)