Skip to content

Instantly share code, notes, and snippets.

@rblalock
Created October 26, 2010 04:43
Show Gist options
  • Save rblalock/646331 to your computer and use it in GitHub Desktop.
Save rblalock/646331 to your computer and use it in GitHub Desktop.
A CSS3 driven logo
h1 {
position: relative;
font-size: 200px;
margin-top: 0;
font-family: 'Myriad-Pro', 'Myriad', helvetica, arial, sans-serif;
text-shadow: 2px 3px 3px #292929;
letter-spacing: -7px;
-webkit-text-stroke: 1px white;
}
h1 a {
text-decoration: none;
color: #ffffff;
position: absolute;
-webkit-mask-image: -webkit-gradient(linear, left top, left bottom, from(rgba(0,0,0,1)), color-stop(50%, rgba(0,0,0,0)), to(rgba(0,0,0,1)));
text-shadow: 0 2px 0 #e9e9e9;
-webkit-transition: all .3s;
-moz-transition: all .3s;
transition: all .3s;
}
h1 a:hover {
color: #185a50;
}
h1:after {
color: #dbdbdb;
content : attr(data-title);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment