復位樣式——隨時更新

復位樣式,總結自己的

@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
*/


發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章