-
Notifications
You must be signed in to change notification settings - Fork 0
/
reset.css
58 lines (49 loc) · 995 Bytes
/
reset.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
*, *:before, *:after {
box-sizing: inherit;
vertical-align: top;
}
html, body {
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
box-sizing: border-box;
line-height: 1;
margin: 0;
padding: 0;
}
h1, h2, h3, h4, h5, h6, p {
margin: 0;
}
span {
display: inline-block;
}
ol, ul {
padding: 0;
margin: 0;
list-style-position: inside;
}
ul li {
list-style: none;
}
table, caption, tbody, tfoot, thead, tr, th, td {
margin: 0;
padding: 0;
border: 0;
outline: 0;
font-size: 100%;
vertical-align: baseline;
background: transparent;
border-collapse: collapse;
}
/* No number spinners on input fields */
input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
-webkit-appearance: none;
margin: 0;
}
a {
text-decoration: none;
display: inline-block;
}
input[type="search"] {
-webkit-appearance: textfield; /* https://github.com/h5bp/html5-boilerplate/issues/396#issue-697226 */
}