style=" overflow: hidden; text-overflow: ellipsis; white-space: nowrap;//The text does not wrap, so the part that exceeds one line is intercepted and displayed... "
The html page uses the css style to display a fixed number of words, and the number of words that cannot be displayed is replaced by ... (ellipsis)
Guess you like
Origin blog.csdn.net/weixin_45849851/article/details/106069982
Recommended
Ranking