marcus-s
5/26/2016 - 7:27 PM

css truncate text with ellipsis

css truncate text with ellipsis

.foo{  
  width: 250px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}