Created
August 9, 2012 15:23
-
-
Save derick-montague/3305099 to your computer and use it in GitHub Desktop.
CSS Text Shadows for Beveled/Indented Effect
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
/* Some tweaks needed to accommodate different background and foreground colors colors */ | |
text-shadow-dark { | |
text-shadow: 0 1px 1px rgba(255, 255, 255, .5), 0 -1px 1px rgba(0, 0, 0, .5) | |
} | |
text-shadow-light { | |
text-shadow: 0 1px 1px rgba(255, 255, 255, .9), 0 -1px 1px rgba(0, 0, 0, .1); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment