猿问
css中怎么定义字符数?
css中怎么定义字符数?
米脂
浏览 679
回答 1
1回答
慕哥6287543
div的类或者id {width:宽度white-space: nowrap;overflow:hidden;text-overflow:ellipsis;//超出字符用省略号显示 此行或者用text-overflow:ellipsis:clip;//超出字符不显示省略号}
0
0
0
随时随地看视频
慕课网APP
相关分类
CSS3
我要回答