Answers for "have overflow text get elipses css"

CSS
32

text overflow ellipsis css

div {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
Posted by: Guest on May-01-2020
1

need short long paragraph css

//Line Clampin’ (Truncating Multiple Line Text)
.paragraph {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;

  text-overflow: ellipsis;

  overflow: hidden;
}
Posted by: Guest on September-15-2020

Browse Popular Code Answers by Language