复位样式,总结自己的
@charset "utf-8";
/*
* Created: linda
* LastChangedDate: 2016-05-31
*/
/* 清除内外边距 */
body, h1, h2, h3, h4, h5, h6, hr, p, blockquote, /* dom */
dl, dt, dd, ul, ol, li,/* list */
pre, /* code */
form, fieldset, legend, button, input, textarea, /* form */
th, td /* table */{ margin: 0; padding: 0; }
/* 设置默认字体 */
body,
button, input, select, textarea { /* for ie */
/*font: 12px/1 Tahoma, Helvetica, Arial, "宋体", sans-serif;*/
font: 12px/1 Tahoma, Helvetica, Arial, "\5b8b\4f53", sans-serif; /* 用 ascii 字符表示,使得在任何编码下都无问题 */
}
/* father font-size */
h1, h2, h3, h4, h5, h6 { font-size: 100%; }
/* font-style format 将斜体扶正 */
address, cite, dfn, em, var { font-style: normal; }
/* font width 统一等宽字体*/
code, kbd, pre, samp { font-family: courier new, courier, monospace; }
/* for chinese clear 小于 12px 的中文很难阅读,让 small 正常化*/
small { font-size: 12px; }
/* list no style 重置列表元素*/
ul, ol { list-style: none; }
/* link */
a, a:visited{ text-decoration: none; }
a:hover,a:active { text-decoration: underline; }
/* set row spacing */
sup { vertical-align: text-top; }
sub { vertical-align: text-bottom; }
/* form 重置表单元素*/
legend { /* for ie6 */ color: #000; }
fieldset, img { border: 0; }
button, input, select, textarea { font-size: 100%; }
/* table */
table {
border-collapse: collapse;
border-spacing: 0;
}
/* useful */
.clearfix:after{content:'';display: block;clear:both;}
:focus{ outline: 0; }
/*a,area {blr:expression(this.onFocus=this.blur()) } for IE
:focus {-moz-outline-style: none; } for Firefox
*/