Skip to content

Instantly share code, notes, and snippets.

@rafbm
Created June 13, 2014 19:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rafbm/c40fcf5d13e5f74555a8 to your computer and use it in GitHub Desktop.
Save rafbm/c40fcf5d13e5f74555a8 to your computer and use it in GitHub Desktop.
<!DOCTYPE html>
<head>
<style>
body { text-align: center }
h1 { font-size: 56px }
</style>
<link href="http://fonts.googleapis.com/css?family=Ruge+Boogie" rel="stylesheet">
<script>
WebFontConfig = { google: { families: [ 'Butterfly+Kids::latin' ] } }
;(function() {
var wf = document.createElement('script')
wf.src = ('https:' == document.location.protocol ? 'https' : 'http') +
'://ajax.googleapis.com/ajax/libs/webfont/1/webfont.js'
// wf.async = 'true'
var s = document.getElementsByTagName('script')[0]
s.parentNode.insertBefore(wf, s)
})()
</script>
</head>
<body style="display: none">
<h1 style="font-family: Ruge Boogie, Impact">One, two, testing.</h1>
<h1 style="font-family: Butterfly Kids, Impact">One, two, testing.</h1>
<script>
window.onload = function() { document.body.style.display = 'block' }
</script>
</body>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment