关于li溢出部分用省略号代替

li设定宽度,溢出部分用省略号代替。这样会将前面的小点也隐藏

li{

white-space:nowrap;


overflow: hidden;

text-overflow:ellipsis;

}


猜你喜欢

转载自blog.csdn.net/qq_38384568/article/details/75007198
今日推荐