(笔记)css样式重置
1 html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video { 2 margin: 0; 3 padding: 0; 4 border: 0; 5 font-size: 100%; 6 font: inherit; 7 vertical-align: baseline; 8 outline: none; 9 -webkit-box-sizing: border-box; 10 -moz-box-sizing: border-box; 11 box-sizing: border-box; 12 } 13 html { height: 101%; } 14 body { font-size: 62.5%; line-height: 1; font-family: Arial, Tahoma, sans-serif; } 15 article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section { display: block; } 16 ol, ul { list-style: none; } 17 blockquote, q { quotes: none; } 18 blockquote:before, blockquote:after, q:before, q:after { content: ''; content: none; } 19 strong { font-weight: bold; } 20 table { border-collapse: collapse; border-spacing: 0; } 21 img { border: 0; max-width: 100%; } 22 p { font-size: 1.2em; line-height: 1.0em; color: #333; }