.file-name {
text-overflow :ellipsis; /*设置隐藏部分为省略号*/
white-space: nowrap; /*设置不换行*/
overflow: hidden; /*设置滚动条隐藏*/
}
html中,文字过长用省略号代替
原创
©著作权归作者所有:来自51CTO博客作者qq593b783858edc的原创作品,请联系作者获取转载授权,否则将追究法律责任
提问和评论都可以,用心的回复会被更多人看到
评论
发布评论
相关文章
-
VUE中实现文字转拼音
在vue2中,实现将文字转为拼音的使用案例
ruby标签 文字转拼音 拼音 vue转拼音 -
标题太长用省略号代替
哈喽,哈喽,大家好呀!炎炎夏日,大家是否还有一颗学习Access的热心!我们家这里温度已经到40
大数据 access vba Access 运行测试 -
html 文字溢出时变成省略号
html 文字溢出时变成省略号 遇到很多次这种情况了,但每次都是去查
html 文字溢出 ellipsis css 省略号