Created
March 14, 2018 13:36
-
-
Save mpodaniev/d17d451fad59720cd12330dc9036ddcd to your computer and use it in GitHub Desktop.
Обрезка текста с добавлением окончания в виде многоточия, "…"
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
p { | |
overflow: hidden; | |
white-space: nowrap; | |
text-overflow: ellipsis; | |
width: 200px; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment