Answers for "css propert to have three dot if overflow"

CSS
4

overflow dottet

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

three dots in css

span {
    display: inline-block;
    width: 180px;
    white-space: nowrap;
    overflow: hidden !important;
    text-overflow: ellipsis;
}
Posted by: Guest on May-26-2020

Browse Popular Code Answers by Language