Last active
December 15, 2015 07:48
-
-
Save emanuer/5225672 to your computer and use it in GitHub Desktop.
text gets an "inset" style resets the color of the text only for modern browsers > ie8
the order of the text-shadow properties is essential: "inner shadow" -› "text color" -› "drop shadow"
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
.inset_text { color: hsla(0,0%,0%,0); /* color reset */ | |
text-shadow: 1px 1px 1px hsla(0,0%,100%,.4), /* inner shadow */ | |
0 0 hsla(0,0%,0%,.9), /* text color */ | |
1px 1px hsla(0,0%,100%,.5); /* drop shadow */ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment