-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathreset.css
More file actions
68 lines (60 loc) · 873 Bytes
/
Copy pathreset.css
File metadata and controls
68 lines (60 loc) · 873 Bytes
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
59
60
61
62
63
64
65
66
67
68
/* =========================
MODERN CSS RESET
========================= */
/* 1. Box sizing */
*,
*::before,
*::after {
box-sizing: border-box;
}
/* 2. Remove default margin */
* {
margin: 0;
}
/* 3. Improve text rendering */
html {
-webkit-text-size-adjust: 100%;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
/* 4. Body defaults */
body {
min-height: var(--app-viewport-height, 100vh);
line-height: 1.5;
}
/* 5. Media elements */
img,
picture,
video,
canvas,
svg {
display: block;
max-width: 100%;
}
/* 6. Form elements inherit fonts */
input,
button,
textarea,
select {
font: inherit;
}
p {
margin: 0;
}
/* 7. Buttons */
button {
background: none;
border: none;
cursor: pointer;
}
/* 8. Links */
a {
text-decoration: none;
color: inherit;
}
/* 9. Lists */
ul,
ol {
list-style: none;
padding: 0;
}