CSS 埃里克迈耶css重置和其他必要的CSS

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了CSS 埃里克迈耶css重置和其他必要的CSS相关的知识,希望对你有一定的参考价值。

html, body, div, span, applet, object, iframe,
02
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
03
a, abbr, acronym, address, big, cite, code,
04
del, dfn, em, font, img, ins, kbd, q, s, samp,
05
small, strike, strong, sub, sup, tt, var,
06
b, u, i, center,
07
dl, dt, dd, ol, ul, li,
08
fieldset, form, label, legend,
09
table, caption, tbody, tfoot, thead, tr, th, td {
10
margin: 0;
11
padding: 0;
12
border: 0;
13
outline: 0;
14
font-size: 100%;
15
vertical-align: baseline;
16
background: transparent;
17
}
18
 
19
body {
20
line-height: 1;
21
}
22
 
23
ol, ul {
24
list-style: none;
25
}
26
 
27
blockquote, q {
28
quotes: none;
29
}
30
 
31
blockquote:before, blockquote:after,
32
q:before, q:after {
33
content: '';
34
content: none;
35
}
36
 
37
/* remember to define focus styles! */
38
:focus {
39
outline: 0;
40
}
41
 
42
/* remember to highlight inserts somehow! */
43
ins {
44
text-decoration: none;
45
}
46
 
47
del {
48
text-decoration: line-through;
49
}
50
 
51
/* tables still need 'cellspacing="0"' in the markup */
52
table {
53
border-collapse: collapse;
54
border-spacing: 0;
55
}

以上是关于CSS 埃里克迈耶css重置和其他必要的CSS的主要内容,如果未能解决你的问题,请参考以下文章

css 迈耶网重置css

css 迈耶重置

CSS 埃里克再次重置

埃里克·迈耶斯

埃里克·迈耶

css样式重置,不建议用通配符