-
-
Save sthales/3ca4a4da09ae6470e425206633f7fc2d 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