reset.css
1 *, 2 *:before, 3 *:after { 4 box-sizing: border-box; 5 } 6 7 html, 8 body, 9 div, 10 span, 11 applet, 12 object, 13 iframe, 14 h1, 15 h2, 16 h3, 17 h4, 18 h5, 19 h6, 20 p, 21 blockquote, 22 pre, 23 a, 24 abbr, 25 acronym, 26 address, 27 big, 28 cite, 29 code, 30 del, 31 dfn, 32 em, 33 img, 34 ins, 35 kbd, 36 q, 37 s, 38 samp, 39 small, 40 strike, 41 strong, 42 sub, 43 sup, 44 tt, 45 var, 46 b, 47 u, 48 i, 49 center, 50 dl, 51 dt, 52 dd, 53 ol, 54 ul, 55 li, 56 fieldset, 57 form, 58 label, 59 legend, 60 table, 61 caption, 62 tbody, 63 tfoot, 64 thead, 65 tr, 66 th, 67 td, 68 article, 69 aside, 70 canvas, 71 details, 72 embed, 73 figure, 74 figcaption, 75 footer, 76 header, 77 heading, 78 hgroup, 79 menu, 80 nav, 81 output, 82 ruby, 83 section, 84 summary, 85 time, 86 mark, 87 audio, 88 video, 89 button, 90 input, 91 textarea { 92 margin: 0; 93 padding: 0; 94 border: 0; 95 font-family: inherit; 96 font-size: 100%; 97 font-weight: unset; 98 color: inherit; 99 font-kerning: normal; 100 text-decoration: none; 101 vertical-align: baseline; 102 background-color: transparent; 103 } 104 105 /* HTML5 display-role reset for older browsers */ 106 article, 107 aside, 108 details, 109 figcaption, 110 figure, 111 footer, 112 header, 113 hgroup, 114 menu, 115 nav, 116 section { 117 display: block; 118 } 119 120 ol, 121 ul { 122 list-style: none; 123 } 124 125 blockquote, 126 q { 127 quotes: none; 128 } 129 130 blockquote:before, 131 blockquote:after, 132 q:before, 133 q:after { 134 content: ''; 135 content: none; 136 } 137 138 button { 139 outline-style: none; 140 }