-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcss-defaults.css
More file actions
55 lines (47 loc) · 786 Bytes
/
css-defaults.css
File metadata and controls
55 lines (47 loc) · 786 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
/*
1. Use a more-intuitive box-sizing model.
*/
*, *::before, *::after {
box-sizing: border-box;
margin: 0;
}
/* 2. Reset default margins */
body, br, li, dt, dd, th, td, option {
margin-block-start: 0;
}
/*
3. Allow percentage-based heights in the application
*/
html {
height: 100%;
}
body {
min-height: 100%;
}
/*
4. Improve the typography across the site.
*/
body {
line-height: 1.5;
-webkit-font-smoothing: antialiased;
}
/* 5. Make images easier to work with */
img,
picture {
max-width: 100%;
display: block;
}
/* 6. Inherit fonts for inputs and buttons */
input, button, textarea, select {
font: inherit;
}
/* 7. Inherit link color */
a, a:visited {
color: inherit;
}
/*
8. Create a root stacking context
*/
#root {
isolation: isolate;
}