-
Notifications
You must be signed in to change notification settings - Fork 0
/
resetcss
62 lines (50 loc) · 1.07 KB
/
resetcss
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
*, *::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;
}
img, picture, svg, video, canvas{
vertical-align: middle;
}
img, picture, svg, video, canvas{
font-style: italic;
}
img, picture, svg, video, canvas{
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;
}
/* For More Info: https://github.com/Lazzzer00/Best-CSS-Reset-2024 */