.nowrap {
width: 100%;
white-space: nowrap; /强制文本在一行内显示/
text-overflow: ellipsis; /溢出省略号,支持ie、safari(webkit)/
-o-text-overflow: ellipsis; /溢出省略号,支持opera/
overflow: hidden; /溢出隐藏/
-moz-binding: url(‘ellipsis.xml#ellipsis’); /溢出省略号,支持firefox/
}
css单行文字超出显示省略号兼容火狐
最新推荐文章于 2022-03-21 17:45:42 发布