-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathcss-reset-by-class.css
49 lines (49 loc) · 1.02 KB
/
css-reset-by-class.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
:where(html, body) {
min-height: 100dvh;
}
:where(html) {
text-size-adjust: none;
}
:where(body) {
margin: 0;
overflow-wrap: break-word;
text-size-adjust: none;
}
:where(:lang(ko)) {
word-break: keep-all;
}
:where(img) {
max-width: 100%;
height: auto;
}
:where([class]) {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: inherit;
}
:where([class])::before,
:where([class])::after {
box-sizing: border-box;
pointer-events: none;
}
:where(ol[class], ul[class]) {
list-style: none;
}
:where(hr[class], button[class], fieldset[class], iframe[class], input[class], select[class], textarea[class]) {
border: 0;
}
:where(input[class], textarea[class]) {
border-radius: 0;
}
:where(button[class], input[class], mark[class], meter[class], progress[class]) {
background-color: transparent;
}
:where(table[class]) {
border-collapse: collapse;
border-spacing: 0;
border: 0;
}
:where(button[class], input[class], meter[class], progress[class], select[class], textarea[class]) {
appearance: none;
}