Answers for "javascript limit number of lines in div"

0

javascript limit number of lines in div

.max-lines {
  display: block;/* or inline-block */
  text-overflow: ellipsis;
  word-wrap: break-word;
  overflow: hidden;
  max-height: 3.6em;
  line-height: 1.8em;
}
Posted by: Guest on September-24-2021

Code answers related to "javascript limit number of lines in div"

Code answers related to "Javascript"

Browse Popular Code Answers by Language