.content{
white-space:nowrap;
text-overflow:ellipsis;
-o-text-overflow:ellipsis;
overflow:hidden;
}
常规css方法——使Firefox以外主流浏览器文字溢出省略号表示
最新推荐文章于 2022-06-17 16:53:05 发布
.content{
white-space:nowrap;
text-overflow:ellipsis;
-o-text-overflow:ellipsis;
overflow:hidden;
}