style=" overflow: hidden; text-overflow: ellipsis; white-space: nowrap;//文本不换行,这样超出一行的部分被截取,显示... "
html页面使用css样式展示固定字数,未能显示的字数以...(省略号)代替
猜你喜欢
转载自blog.csdn.net/weixin_45849851/article/details/106069982
今日推荐
周排行