nec中常用样式摘要

289 查看

/*清除浮动*/
.f-cb:after, .f-cb li:after {
    display: block;
    clear: both;
    visibility: hidden;
    height: 0;
    overflow: hidden;
    content: ".";
}
/*IE6-7的hack方式*/
.f-cb, .f-cb li {
    zoom: 1;
}

/*内联*/
.f-ib {
    display: inline-block;
    *display: inline;
    *zoom: 1;
}
/*隐藏*/
.f-dn {
    display: none;
}
/*显示*/
.f-db {
    display: block;
}
/*左浮动*/
.f-fl {
    float: left;
}
/*右浮动*/
.f-fr {
    float: right;
}
/*默认字体*/
.f-ff {
    font-family: "Microsoft YaHei", \5fae\8f6f\96c5\9ed1, arial, \5b8b\4f53;
}