-
Notifications
You must be signed in to change notification settings - Fork 8
/
css_reset.css
51 lines (43 loc) · 979 Bytes
/
css_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
*, *::before, *::after{
box-sizing: border-box;
}
*{
margin: 0;
padding: 0;
}
ul[role='list'], ol[role='list']{
list-style: none;
}
html:focus-within{
scroll-behavior: smooth;
}
a:not([class]){
text-decoration-skip-ink: auto;
}
img, picture, svg, video, canvas{
max-width: 100%;
height: auto;
vertical-align: middle;
font-style: italic;
background-repeat: no-repeat;
background-size: cover;
}
input, button, textarea, select{
font: inherit;
}
@media (prefers-reduced-motion: reduce){
html:focus-within {
scroll-behavior: auto;
}
*, *::before, *::after {
animation-duration: 0.01ms !important;
animation-iteration-count: 1 !important;
transition-duration: 0.01ms !important;
scroll-behavior: auto !important;
transition: none;
}
}
body, html{
height: 100%;
scroll-behavior: smooth;
}