phpmyadmin2014
phpmyadmin2014

Reputation: 101

To use Google font

I want to use google font, Open-Sans. I linked the font in my head in Home page. To use the google font, this is it? Anything else?

Or, should I add 'font-face' in style sheet and generate font files from somewhere like 'font-squirrel', then save files in a folder?

Thanks in advance.

Upvotes: 0

Views: 80

Answers (1)

Fala
Fala

Reputation: 566

you just have to add

<link href='https://fonts.googleapis.com/css?family=Open+Sans' rel='stylesheet' type='text/css'>

before the head closing tag, no need for fontface.

however you need to set the font-family: Open Sans in your CSS

Upvotes: 2

Related Questions