Answers for "wrap text after 5 words and show 3 dots using css"

CSS
3

css add dots if text too long

text-overflow: ellipsis;
white-space: nowrap;
overflow: hidden;
Posted by: Guest on April-29-2020
4

overflow dottet

.cut-text { 
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}
Posted by: Guest on May-27-2020

Browse Popular Code Answers by Language