Answers for "css trim text"

CSS
4

css overflow truncate

//Truncate text overflow 
.element {
	white-space: nowrap;
  	overflow: hidden;
  	text-overflow: ellipsis;
}
Posted by: Guest on June-05-2020
0

css trim text

width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
Posted by: Guest on July-19-2021

Browse Popular Code Answers by Language