base.css

@charset "utf-8";

 

  /* CSS reset */

  body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,fieldset,input,textarea,p,blockquote,th,td{margin:0;padding:0;}

  table{border-collapse:collapse;border-spacing:0;}

  fieldset,img {border:0;}

  img{vertical-align: top;}

  address,caption,cite,code,dfn,em,strong,th,var{font-style:normal;font-weight:normal;}

  ol,ul {list-style:none;}

capation,th{text-align:left;}

h1,h2,h3,h4,h5,h6{font-size:100%;font-weight:normal;}

q:before, q:after{content:'';}

abbr,acronym{border:0;}

.tl{text-align:left;}

.tc{text-align:center;}

.tr{text-align:right;}

.bc{margin-left:auto;margin-right:auto;}  /*块状元素集中对齐 block center*/

.fl{float:left;display:inline;}  /* 可修复IE6中双倍边距bug */

.fr{float:right;display:inline;}

.cb{clear:both;}

.overflow-h{overflow:hidden;}

.clearfix:after{

    content:'';

    display:block;

    height:0;

    visibility: hidden;

    clear:both;

}

.clearfix{    /*IE6中的解决方案*/

    zoom:1;

}

你可能感兴趣的:(base.css)