Answers for "how to show three dots when the text is overflow the div"

CSS
4

overflow dottet

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

overflow dots css

.overflow-information{ 
    overflow: hidden;
    display: inline-block;
    text-overflow: ellipsis;
    white-space: nowrap;
  	width:150px; //change based on when you want the dots to appear
}
Posted by: Guest on October-19-2020

Code answers related to "how to show three dots when the text is overflow the div"

Browse Popular Code Answers by Language