Answers for "html hide overflow of paragraph"

CSS
32

text overflow ellipsis css

div {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
Posted by: Guest on May-01-2020
4

css overflow truncate

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

Browse Popular Code Answers by Language