Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 9 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
<link rel="preconnect" href="https://your-font-file-host/">
<link rel="stylesheet" href="https://your-font-file-host/inter.css">
```

```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 `<head>`:

```html
<link rel="stylesheet" href="/inter/inter.css">
```

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
<link rel="preconnect" href="https://rsms.me/">
<link rel="stylesheet" href="https://rsms.me/inter/inter.css">
```


### Alternate distributions

- [NPM `inter-ui`](https://www.npmjs.com/package/inter-ui)
Expand Down