Answers for "css text limit"

CSS
3

css limit text length

/*CSS to limit the text length inside a div*/
text-overflow: ellipsis;
overflow: hidden;
white-space: nowrap;
Posted by: Guest on July-01-2020
0

css text limit

p {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 200px;
}
Posted by: Guest on May-17-2021

Browse Popular Code Answers by Language