By using this site, you agree to have cookies stored on your device, strictly for functional purposes, such as storing your session and preferences.

Dismiss

 reset.css

View raw Download
text/plain • 948 B
ASCII text
        
            
1
/* Better default box model */
2
html {
3
box-sizing: border-box;
4
}
5
6
*, *:before, *:after {
7
box-sizing: inherit;
8
}
9
10
/* Remove inconsistent default margins, shadows, borders and paddings */
11
* {
12
margin: 0;
13
padding: 0;
14
box-shadow: none;
15
text-shadow: none;
16
border: none;
17
}
18
19
/* Disable subpixel rendering only on billionaire computers(tm) */
20
* {
21
-webkit-font-smoothing: antialiased;
22
-moz-osx-font-smoothing: grayscale;
23
}
24
25
/* Inherit font styles for form controls */
26
input, button, textarea, select {
27
font: inherit;
28
letter-spacing: inherit;
29
word-spacing: inherit;
30
}
31
32
/* Break words to avoid horizontal scrolling */
33
p, h1, h2, h3, h4, h5, h6, label, li, dl, dt, dd, figcaption, blockquote {
34
overflow-wrap: break-word;
35
}
36
37
/* Always fill the viewport */
38
html, body {
39
min-height: 100vh;
40
}
41
42
/* Smarter images by default */
43
img {
44
width: 100%;
45
display: block;
46
}
47
48
ul, ol, menu {
49
list-style: none;
50
}