Answers for "css show only partial text with dots"

CSS
4

overflow dottet

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

truncate text css

.element{

  text-overflow: ellipsis;

  /* Required for text-overflow to do anything */
  white-space: nowrap;
  overflow: hidden;
}
Posted by: Guest on May-14-2020

Browse Popular Code Answers by Language