overflow:hidden;//Do not display beyond the range white-space:nowrap;//Forcibly do not wrap text-overflow:ellipsis;//Use ... to display the end after being too long
The number of words in the JS input box exceeds the length and the ellipsis is displayed.....
Guess you like
Origin blog.csdn.net/xiansibao/article/details/129731610
Recommended
Ranking