LOADING...

Preview

Pen ID
Unlock Campus Themeforest adv

 

Code

Specify Characters for Google Web Font Loader

CSS
h1 {  
 font-family: Cursive;
 padding: 0 .5em;
}

.wf-active h1 {
  font-size: 5em;
  font-weight: 400;
  font-family: "Crete Round", Cursive;
}  
JS
WebFontConfig = {
    google: { 
     families: [ 'Crete+Round::latin' ],
     text: ['SpecifyChartrs']
    }
  };
  (function() {
    var wf = document.createElement('script');
    wf.src = 'https://ajax.googleapis.com/ajax/libs/webfont/1/webfont.js';
    wf.type = 'text/javascript';
    wf.async = 'true';
    var s = document.getElementsByTagName('script')[0];
    s.parentNode.insertBefore(wf, s);
  })();

Description

You can supply the text parameter to perform character subsetting in Google Web Font Loader.
Term
Wed, 12/27/2017 - 07:05

Related Codes

Pen ID
Pen ID
Pen ID
Square Adv