DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR CSS
text truncate after 3 lines
.line-clamp { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; }
Source by css-tricks.com #
PREVIOUS
NEXT
Tagged:
#text
#truncate
#lines
ADD COMMENT
Topic
COMMENT
Name
8+1 =
Submit