nec中常用样式摘要

/*清除浮动*/
.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;
}
    原文作者:两仪
    原文地址: https://segmentfault.com/a/1190000002624362
    本文转自网络文章,转载此文章仅为分享知识,如有侵权,请联系博主进行删除。
点赞