Created
October 17, 2012 20:55
-
-
Save thienanle/3908122 to your computer and use it in GitHub Desktop.
A "deeper" indented text effect with the :before and :after pseudo-elements.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* A "deeper" indented text effect with the :before and :after pseudo-elements. | |
*/ | |
html, body { | |
height: 100%; | |
} | |
body { | |
margin: 0; | |
background: #0A539C; | |
background: linear-gradient(top, #fff 0%,#e5e5e5 100%); | |
overflow: hidden; | |
} | |
.depth { | |
display: block; | |
padding: 50px; | |
color: black; | |
font: bold 7em Arial, sans-serif; | |
color: rgba(120, 120, 120, 0.8); | |
text-shadow: 0px 4px 6px #fff, 0 0 1px #000, 1px 4px 6px #fff; | |
} | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<h1 class="depth" title="Lorem ipsum">Lorem ipsum</h1> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"view":"split","fontsize":"100","seethrough":"","prefixfree":"1","page":"all"} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment