CSS中编写省略号代码片段
2016-02-20 09:48
561 查看
#component-content #dtMain .dt-ul > li .component-item .component-name{
display:inline-block;
text-align:center;
height:37px;
line-height:37px;
padding:0px 10px 0px 10px;
width:90px;
overflow:hidden;
text-overflow:ellipsis;
white-space:nowrap;
color:#4b555c;
font-family:'宋体';
font-weight:700;
}
display:inline-block;
text-align:center;
height:37px;
line-height:37px;
padding:0px 10px 0px 10px;
width:90px;
overflow:hidden;
text-overflow:ellipsis;
white-space:nowrap;
color:#4b555c;
font-family:'宋体';
font-weight:700;
}
相关文章推荐
- CSS中编写省略号代码片段
- CSS3立体文字最佳实践
- DIV布局和放大
- CSS 透明度 设置 兼容IE FF
- 2016/2/19 css样式表 Cascading Style Sheet 叠层样式表 美化HTML网页
- 前端试题-cssText?
- 【css】table
- 性能优化--JS、CSS压缩合并
- 深入理解CSS盒子模型
- 关于css的一些小细节---link
- css之几个细节
- css布局——百度前端技术学院
- CSS多列布局Multi-column、伸缩布局Flexbox、网格布局Grid详解
- css公共样式,初始化
- CSS清除浮动常用方法小结
- CSS之BFC详解
- CSS 布局_如何实现容器中每一行的子容器数量随着浏览器宽度的变化而变化?
- css篇——float
- PS图层样式中的“图案叠加”技巧
- css3实现三角形指向的div