2.reset.css file

Reset CSS style:

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

 

 

 

 

/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

html,
body,
div,
span,
applet,
object,
iframe,
h1 ,
h2,
H3 ,
h4,
H5 ,
h6 ,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
of the ,
dfn,
in ,
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 {
     margin0;
     padding0;
     border0;
     font-size100%;
     fontinherit;
     vertical-alignbaseline;
}

/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
     displayblock;
}

body {
     line-height1;
}

ol,
ul {
     list-stylenone;
}

blockquote,
q {
     quotesnone;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
     content'';
     contentnone;
}

table {
     border-collapsecollapse;
     border-spacing0;
}

a {
     text-decorationnone;
     colorinherit;
}

Guess you like

Origin www.cnblogs.com/lanshanxiao/p/12663192.html