Notice: To Install styles, click the "Show Css Code" button first. The install button will work after that.
The devs are no longer actively involved in the forum, so any bug reports regarding the extension or website should be sent to them directly at contact@userstyles.org.

Apply a Font from Google Fonts?

It's possible to add a font directly from Google Fonts?

For example this font: https://fonts.google.com/specimen/Sunflower

It says that to add the font to a webpage, I need to use:

<link href="https://fonts.googleapis.com/css?family=Sunflower:300" rel="stylesheet">

or

<style>
@import url('https://fonts.googleapis.com/css?family=Sunflower:300');
</style>

And then apply the font to a div (or anything else) using:

font-family: 'Sunflower', sans-serif;

But I can't do that.
Is there a way?

Comments

  • @font-face is what you're looking for. Some are simple, and some are a nightmare. Good luck.
Sign In or Register to comment.