Answers for "css add ... to long text"

CSS
2

add ... to long text css

div {
  white-space: nowrap; 
  overflow: hidden;
  text-overflow: ellipsis;
 }
Posted by: Guest on May-11-2021
32

text overflow ellipsis css

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

css ellipsis max width

.text-ellipsis{
  display: block;
  width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
Posted by: Guest on July-02-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