I'm using a google font by adding a External link
<link href='http://fonts.googleapis.com/css?family=Arvo' rel='stylesheet' type='text/css'>
This CSS only having this code
@font-face {
font-family: 'Arvo';
font-style: normal;
font-weight: normal;
src: local('Arvo'), url('http://themes.googleusercontent.com/static/fonts/arvo/v3/WJ6D195CfbTRlIs49IbkFw.woff') format('woff');
}
Can i just paste and use this code in my project css file style.css or it's necessary and better use it as a google's external css link
You should link it from Google, because:
So, it's more robust to link it from Google.
If you want to host the font locally, read this: How to host google web fonts on my own server?
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With