Created
January 18, 2015 20:14
-
-
Save jbutko/9c1d3670d11b6915dd72 to your computer and use it in GitHub Desktop.
#CSS: Show three dots (...) at the end of the line
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
span { | |
display:inline-block; | |
width:180px; | |
white-space: nowrap; | |
overflow:hidden !important; | |
text-overflow: ellipsis; | |
} | |
/* From http://stackoverflow.com/questions/11426275/how-can-i-show-dots-in-a-span-with-hidden-overflow*/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
asdddddddddddddddddddddddddddddddddddddddddddddddddddmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm