Don’t just copy the @font-face out of Google Fonts URLs

I don’t think this is an epidemic or anything, but I’ve seen it done a few times and even advocated for. This is what I mean…

You go to Google Fonts and pick a font like Open Sans, and it gives you either a or an @import with a URL there in which to ready this font for usage on your site.
You can take a peek in there and see what it returns…
It’s just some @font-face declarations, …
The post Don’t just copy the @font-face out of Google Fonts URLs appeared first on CSS-Tricks.

Link: https://css-tricks.com/dont-just-copy-the-font-face-out-of-google-fonts-urls/