Sha256: eca7852eb265eea1763dded294613ea738122cdfa408b12266f47dc18f6bb929
Contents?: true
Size: 1.06 KB
Versions: 21
Compression:
Stored size: 1.06 KB
Contents
<!doctype html> <html> <head> <link href="/basic.css" rel="stylesheet" type="text/css"> <script type="text/javascript" src="/webfont.js"></script> <script type="text/javascript"> WebFont.load({ typekit: { id: 'kitwitharialblack', api: '/typekit' } }); </script> <style type="text/css"> /* Use classes to prove that Typekit triggers the event system correctly */ h1 { visibility: hidden; } .wf-arialblack-n4-active h1 { font-family: 'Arial Black'; visibility: visible; } </style> </head> <body> <h1> Hello World. I am Arial Black. </h1> <hr> <p> <a href="#" onclick="document.getElementsByTagName('body')[0].style.color = '#fff';return false;">Hide Page</a> | <a href="/typekit.html">Reload Cached</a> </p> <p> The goal of this page is to show how Typekit fonts load. Note that it uses a minimal Typekit script in order to reduce dependencies. This script simply provides the system font 'Arial Black' instead of loading a web font. </p> </body> </html>
Version data entries
21 entries across 21 versions & 1 rubygems
Version | Path |
---|---|
webfontloader-1.0.5 | lib/webfontloader/demo/public/typekit.html |