/* 单行文本 /
div{
width:200px;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
/ 多行文本溢出处理 */
div{
width:200px;
height:40px;
line-height:20px;
overflow:hidden;
}
网页单行和多行打点
最新推荐文章于 2023-04-12 12:04:37 发布
/* 单行文本 /
div{
width:200px;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
/ 多行文本溢出处理 */
div{
width:200px;
height:40px;
line-height:20px;
overflow:hidden;
}