.class类名{
display: inline-block;
width: 105px;
height: 18px;
/*设置字体超出隐藏*/
overflow:hidden;
white-space:nowrap;
text-overflow: ellipsis;
}
css设置宽高字体超出隐藏
最新推荐文章于 2023-03-29 11:31:14 发布