css text overflow

CSS
div {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}overflow: scroll;
white-space: nowrap;
Source

Also in CSS: