Skip to content

Instantly share code, notes, and snippets.

@kalupa
Created April 8, 2009 15:31
Show Gist options
  • Save kalupa/91827 to your computer and use it in GitHub Desktop.
Save kalupa/91827 to your computer and use it in GitHub Desktop.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>cufón / examples / text-shadow</title>
<script src="../js/cufon.js" type="text/javascript"></script>
<script src="../fonts/Frutiger_LT_Std.font.js" type="text/javascript"></script>
<style type="text/css">
body {
background: #fff;
color: #000;
}
h1, h2, h3, h4, h5, h6 {
font-size: 30pt;
}
</style>
<script type="text/javascript">
Cufon.replace('h1');
</script>
</head>
<body>
<!-- <p>These examples are based on <a href="http://www.w3.org/Style/Examples/007/text-shadow">CSS: text shadows</a> by Bert Bos. See the <a href="http://www.w3.org/TR/CSS2/text.html#text-shadow-props">CSS2 text-shadow specification</a> for syntax. Please note that offsets can only be defined in pixels and that blur is not supported at all.</p>
<p>Additional limitations since the release of Internet Explorer 8: One element may only have two shadows, and they may not have varying levels of opacity.</p>
-->
<h1>Lorem ipsum dolor sit amet, consectetuer adipiscing elit.</h1>
<!-- <h2>Lorem ipsum dolor sit amet, consectetuer adipiscing elit.</h2>
<h3>Lorem ipsum dolor sit amet, consectetuer adipiscing elit.</h3>
<h4>Lorem ipsum dolor sit amet, consectetuer adipiscing elit.</h4> -->
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment