Answers

Question and Answer:

  Home  Web Font Loader

⟩ How to use Web Font Loader?

To use the Web Font Loader library, just include it in your page and tell it which fonts to load. For example, you could load fonts from Google Fonts using the Web Font Loader hosted on Google Hosted Libraries using the following code.

<script src="//ajax.googleapis.com/ajax/libs/webfont/1.4.7/webfont.js"></script>

<script>

WebFont.load({

google: {

families: ['Droid Sans', 'Droid Serif']

}

});

</script>

 192 views

More Questions for you: