Created
April 20, 2013 21:24
-
-
Save anonymous/5427490 to your computer and use it in GitHub Desktop.
text-shadow
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
/* text-shadow */ | |
html { | |
font-size:40px; | |
background:#333 | |
} | |
.sharp { | |
text-shadow: | |
2px 0 0 red,-2px 0 0 red, | |
0 2px 0 red,0 -2px 0 red, | |
2px 2px 0 red,-2px -2px 0 red, | |
2px -2px 0 red,-2px 2px 0 red | |
; | |
} | |
.blur {text-shadow: | |
0 0 3px red ,0 0 3px red ,0 0 3px red , | |
0 0 3px red ,0 0 3px red ,0 0 3px red , | |
0 0 3px red ,0 0 3px red ,0 0 3px red , | |
0 0 3px red ,0 0 3px red ,0 0 3px red , | |
0 0 3px red ,0 0 3px red ,0 0 3px red ; | |
} | |
p {display:inline-block;margin:1em; | |
padding:10px;border-radius:1em/0.5em; | |
background:gold; | |
box-shadow: | |
inset 0 0 1px white, inset 0 0 3px white, inset 0 0 5px black, inset 0 0 0 1px turquoise, inset 0 -90px 0 -60px rgba(255,255,255,0.5) , | |
0 0 1px white, 0 0 3px white, 0 0 5px black, 0 0 0 1px turquoise; |
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
<p class="blur">text-shadow multiple avec blur</p> | |
<p class="sharp">text-shadow multiple sans blur</p> |
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
// alert('Hello world!'); |
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":"css"} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment