Created
April 11, 2019 14:57
-
-
Save sch/74314e0a3a688da4b9d53bf0155e6e48 to your computer and use it in GitHub Desktop.
Untitled
This file contains 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
.container { | |
text-shadow: 0.1em 0.1em pink; | |
} | |
.larger { | |
font-size: 30px; | |
} | |
.large-shadow { | |
font-size: 30px; | |
text-shadow: 0.1em 0.1em pink; | |
} |
This file contains 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
<div class="container"> | |
<div>body's font size</div> | |
<div class="larger">Larger font size doesn't inherit text shadow value</div> | |
</div> | |
<div class="large-shadow">Larger font size with shadow applied directly</div> |
This file contains 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 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