CSS可以限制字符长度吗

CSS可以限制字符长度吗

这个是可以的,将div的宽和高固定然后使用overflow:hidden可以把溢出的字符影藏例:&ltdiv style="width:20pxheight:20pxoverflow:hidden"&
html-css170