Answers for "make text add dots when too long in a div bootstrap 4"

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 "make text add dots when too long in a div bootstrap 4"

Browse Popular Code Answers by Language