Super long?
Isn't it good?
What the?
Not good?
What's the harm?
It makes people want to cry!
In this case, the extra-long point-to-point processing:
One line over a long dot point, this many will!
Text-overflow:ellipsis;
White-space:nowrap;
Overflow:hidden;
What about the lines? No, no, on the code:
Overflow:hidden;
Display:-webkit-box; Displays the object as an elastic telescopic box model.
text-overflow:ellipsis; If you can use multiple lines of text, use the ellipsis "..." to hide out-of-range text.
-webkit-box-orient:vertical; Sets or retrieves the arrangement of child elements of a telescopic box object.
-webkit-line-clamp:2; Limits the number of lines of text displayed in a block element.
If the text is a lot of lines, you want to be a little bit longer on n lines, the-webkit-line-clamp is set to N.
Favorite friends can have a little attention. Encourage the author to make more and better dry foods!
CSS multi-line ultra-long Dot point