Created
July 14, 2014 19:46
-
-
Save dacur/d323153dfa97341a62af to your computer and use it in GitHub Desktop.
Truncating text / handling overflowing text. Instead of pushing overflowing text into surrounding areas, it will be truncated and end with "...".
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
| .truncate { | |
| white-space: nowrap; | |
| overflow: hidden; | |
| text-overflow: ellipsis; | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment