-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathclean-slate.css
More file actions
54 lines (47 loc) · 914 Bytes
/
clean-slate.css
File metadata and controls
54 lines (47 loc) · 914 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
/* Quasi standards that minimize surprises */
*,
*::before,
*::after {
margin: 0;
padding: 0;
box-sizing: border-box;
/* Makes `border` utility/classes work predictably */
border: 0 solid currentColor;
/* Prevents unexpected background tiling */
background-repeat: no-repeat;
}
/* Media elements – prevents overflow and inline gaps */
img,
picture,
video,
canvas,
svg {
display: block;
max-width: 100%;
height: auto;
}
/* Lists – removes default bullets/numbers */
ul,
ol {
list-style: none;
}
/* RESET FORM CONTROLS (they otherwise get styled by the system) */
button,
input,
select,
textarea,
optgroup {
font-family: inherit;
font-size: inherit;
line-height: inherit;
color: inherit;
margin: 0;
padding: 0;
border: none;
background: none;
appearance: none;
-webkit-appearance: none;
}
button {
cursor: pointer;
}