Created
May 25, 2012 09:14
-
-
Save denvers/2786880 to your computer and use it in GitHub Desktop.
CSS text-indent the right way
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
.hide-text { | |
text-indent: 100%; | |
white-space: nowrap; | |
overflow: hidden; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
What's the problem with just using "-99999px"? I never read about any issues with this ...