代码如下:width:100px;overflow: hidden;white-space: nowrap;text-overflow: ellipsis
只需要用宽度来限制就可以了
本文属原创,转载请注明原文:https://zhimatong.com/jiaocheng/css/213.html
代码如下:width:100px;overflow: hidden;white-space: nowrap;text-overflow: ellipsis
只需要用宽度来限制就可以了
本文属原创,转载请注明原文:https://zhimatong.com/jiaocheng/css/213.html