Skip to content

Instantly share code, notes, and snippets.

@LukyVj
Created April 25, 2012 13:45
Show Gist options
  • Save LukyVj/2489800 to your computer and use it in GitHub Desktop.
Save LukyVj/2489800 to your computer and use it in GitHub Desktop.
Untitled
h1 {
position: relative;
font-size: 100px;
text-align: center;
}
h1 div {
background-image: -webkit-gradient(linear, left top, left bottom, from(white), to(black));
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
position: absolute;
width: 100%;
}
h1:after {
text-shadow: 10px 10px 11px #fff;
color: transparent;
}
#hello:after {
content: 'Hello World';
}
>
<h1 id="hello"><div>Hello World</div></h1
{"view":"split-vertical","fontsize":"80","seethrough":"","prefixfree":"1","page":"all"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment