123456789101112131415161718192021 |
- article, aside, footer, header, hgroup, main, nav, section{display:block;}
- /*去除margin和padding*/
- body, h1, h2, h3, h4, h5, h6, ul, ol, p, dl, dd, hr,input,textarea { margin: 0; }
- ul,ol{
- padding:0;
- list-style:none;
- }
- /*去除下划线*/
- a,u,ins { color: inherit; text-decoration: none; }
- /* 将斜体扶正 */
- i, cite, em, var, address, dfn { font-style: normal; }
- /* 统一等宽字体 */
- tt, code, kbd, samp { font-family: inherit; /*font-family: 'Courier New', Courier, monospace;*/ }
- /* 统一字体粗细 */
- b,strong,h1,h2,h3,h4,h5,h6{font-weight:normal;}
- sup,sub{vertical-align:baseline;}
- textarea { resize: none; }
- samp,small{font-size:inherit;}
- img{border:none;}
|