Skip to content

Commit

Permalink
Merge pull request #7870 from chrishappy/patch-1
Browse files Browse the repository at this point in the history
Update content.md with additional preconnect to `https://fonts.googleapis.com`
  • Loading branch information
m4rc1e authored Jun 28, 2024
2 parents cf69df1 + 62d83c3 commit 89b3534
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ In this article we’ll first look at the process of adding fonts from a font de
Once we’ve browsed the font library and made our selection(s), we’ll need to copy the code provided by the delivery service into the `<head>` of our HTML. Google Fonts provides something like this:

```
<link rel="preconnect" href="https://fonts.gstatic.com">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=FAMILY_NAME:wght@WEIGHT_OR_RANGE&display=swap" rel="stylesheet">
```

Expand Down

0 comments on commit 89b3534

Please sign in to comment.