Created
May 2, 2016 02:11
-
-
Save z2015/00e92d44a1846a540c937ae126b6c2e7 to your computer and use it in GitHub Desktop.
CSS隐藏文字的新方法(可以取代text-indent首行缩进)
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
.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