UNPKG

webfontloader

Version:

Web Font Loader gives you added control when using linked fonts via @font-face.

28 lines (25 loc) 602 B
<!doctype html> <html> <head> <link href="/basic.css" rel="stylesheet" type="text/css"> <link href="/fonts/api?family=Droid+Sans" rel="stylesheet" type="text/css"> <style type="text/css"> h1 { font-family: 'Droid Sans'; } </style> </head> <body> <h1> Hello World. I am Droid Sans. </h1> <hr> <p> <a href="#" onclick="document.getElementsByTagName('body')[0].style.color = '#fff';return false;">Hide Page</a> | <a href="/google-css.html">Reload Cached</a> </p> <p> The goal of this page is simply to use fonts directly via CSS. </p> </body> </html>