-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathreset.scss
41 lines (36 loc) · 833 Bytes
/
reset.scss
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
/*-----------------------------------------------
# reset.scss
Used to prepare websites for styling without unnecessary browser restyling.
This file does not completely overwrite browser styling, just the main stuff that frusturates most people.
-----------------------------------------------*/
// Better intial box settings.
*,
*::before,
*::after {
box-sizing: border-box;
border: none;
outline: none;
padding: 0;
margin: 0;
background: none;
}
// Add pointer cursor back to interactive elements.
a,
button,
input[type="submit"],
input[type="button"] {
cursor: pointer;
}
// Don't allow images to grow outside of their container.
img {
max-inline-size: 100%;
max-block-size: 100%;
}
// Don't allow users to select or drag specific items.
form {
label,
legend {
user-select: none;
-webkit-user-drag: none;
}
}