src: url('icanfont.eot?#iefix') format('embedded-‐opentype'), url('icanfont.woff2') format('woff2'), url('icanfont.woff') format('woff'), url('icanfont.ttf') format('truetype'); } IC O N FO N T
src: } url('icanfont.eot?#iefix') format('embedded-‐opentype'), url('icanfont.otf') format('opentype'); url('icanfont.woff2') format('woff2'), url('icanfont.woff') format('woff'), IC O N FO N T
el.style.fontFamily = 'The Font That Could'; /* Initiates download in Firefox, IE 9+ */ document.body.appendChild(el); /* Initiates download in WebKit/Blink */ el.innerHTML = 'Content.';
doc.documentElement; FontFaceOnload( "My Icon Font", { glyphs: "\uE600\uE601\uE602\uE605", success: function() { // The font has loaded. docEl.className += " icon-‐font-‐loaded"; } }); IC O N FO N T