-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathreset.css
More file actions
57 lines (48 loc) · 951 Bytes
/
reset.css
File metadata and controls
57 lines (48 loc) · 951 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
/*
Resources used:
- https://cutcodedown.com/article/whats_wrong_with_YOUR_website_part4
- https://developer.mozilla.org/en-US/docs/Web/CSS/box-sizing
*/
/* fixes some subtle alignment issues */
*, *::before, *::after {
box-sizing: border-box;
}
/* blanket reset */
html, body, div, section, article,
table, tr, td, th, caption,
form, fieldset,
address, blockquote,
figure, figcaption
h1, h2, h3, h4, h5, h6,
hr, ul, ol, li,
p, img {
margin: 0;
padding: 0;
border: none;
font-weight: normal;
font-size: inherit;
line-height: inherit;
font-family: inherit;
}
/* personal preference */
html {
font-size: 1rem;
line-height: 1.5;
}
h1, h2, h3, h4, h5, h6 {
font-weight: normal;
margin: 0;
}
table {
border-collapse: collapse;
border-spacing: 0;
}
img {
display: block;
max-width: 100%;
height: 100%;
}
details summary {
cursor: pointer;
user-select: none;
}