您的位置:首页 > Web前端 > CSS

css helper class

2014-04-09 14:08 197 查看
应该习惯的css helper class

.text-centered
text-align: center;
.text-right
text-align: right;
.small
small font size from variables.less
.last
margin-right: 0;
.pause
margin-bottom: baseline/2;
.end
margin-bottom: 0;
.normal
font-weight: normal;
.bold
font-weight: bold;
.italic
font-style: italic;
.group
clearfix layer
.right
float: right;
.left
float: left;
.nowrap
white-space: nowrap;
.req
.required
font-weight: normal; + red color from variables.less
.success
green color from variables.less
.error
red color from variables.less
.color-gray
color: #777;
.color-gray-light
color: #999;
.color-black
color: #000;
.color-red
red color from variables.less
.color-green
green color from variables.less
.no-wrap-line
overflow: hidden;text-overflow: ellipsis;white-space: nowrap;display: block
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: