Created
September 22, 2014 10:26
-
-
Save svfat/1d9e98cf0b789196ec1d to your computer and use it in GitHub Desktop.
Nice white border around text in CSS
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
.text { | |
text-shadow: 2px 0 0 #fff, -2px 0 0 #fff, 0 2px 0 #fff, 0 -2px 0 #fff, 1px 1px #fff, -1px -1px 0 #fff, 1px -1px 0 #fff, -1px 1px 0 #fff; | |
} | |
/* https://stackoverflow.com/questions/13426875/text-border-using-css-border-around-text */ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment