Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSS

css show ellipsis for large text

.long-text {
  width: 150px;
  overflow: hidden;
  display: inline-block;
  text-overflow: ellipsis;
  white-space: nowrap;
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #css #show #ellipsis #large #text
ADD COMMENT
Topic
Name
9+8 =