CSS – set ellipsis
Set the writing method of single-line text ellipsis:
First set the wide fixed width: width: 300px; required
Set no newline: white-space:nowrap;
Set ellipsis: text-overflow: ellipsis;
Clip excess/overflow content: overflow: hidden;
Leave A Comment?