Skip to content

Instantly share code, notes, and snippets.

@patcito
Created February 18, 2012 08:17
Show Gist options
  • Save patcito/1858191 to your computer and use it in GitHub Desktop.
Save patcito/1858191 to your computer and use it in GitHub Desktop.
text-shadow styles
@font-face {
font-family: 'Alfa Slab One', cursive;
src: url('http://fonts.googleapis.com/css?family=Alfa+Slab+One');
font-weight: normal;
font-style: normal;
}
body {
text-align: center;
background: #383838 url(http://www.midwinter-dg.com/images/theme/body.gif) repeat;
width:1000px;
margin: 80px auto 40px;
}
p {
width: 300px;
margin: 0 auto;
text-align: center;
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
color: #999;
}
a:link, a:visited {
color: #ccc;
text-decoration: none;
}
a:hover, a:active {
color: #0080ff;
}
/* text-shadow styles */
div {
width: 998px;
margin-right: auto;
margin-left: auto;
border: 1px solid #424242;
background-color: #7ca0b6hiteargin-bottom: 10px;
background-image: url(http://www.midwinter-dg.com/blog_demos/css-text-shadows/images/three-d.jpg);
}
h1 {
color: #fff;
text-shadow: 0px 1px 0px #999, 0px 2px 0px #888, 0px 3px 0px #777, 0px 4px 0px #666, 0px 5px 0px #555, 0px 6px 0px #444, 0px 7px 0px #333, 0px 8px 7px #001135;
font: 30px 'ChunkFiveRegular';
}
<body>
<div>
<h1>Thematicash</h1>
</div>
<p>you can find more examples here:<br />
<a href="http://www.midwinter-dg.com/blog_demos/css-text-shadows/" target="_blank">CSS text-shadow examples</a>
</p>
</body>
{"view":"split","prefixfree":"1","page":"css"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment