Add box-sizing: border-box and try to fix bottom border
This commit is contained in:
parent
397847f697
commit
13cba0aeee
9
main.css
9
main.css
|
@ -1,3 +1,11 @@
|
||||||
|
html {
|
||||||
|
box-sizing: border-box;
|
||||||
|
}
|
||||||
|
|
||||||
|
*, *:before, *:after {
|
||||||
|
box-sizing: inherit;
|
||||||
|
}
|
||||||
|
|
||||||
body {
|
body {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
background-color: rgb(240, 240, 240);
|
background-color: rgb(240, 240, 240);
|
||||||
|
@ -9,6 +17,7 @@ article {
|
||||||
max-width: 1012px;
|
max-width: 1012px;
|
||||||
margin-right: auto;
|
margin-right: auto;
|
||||||
margin-left: auto;
|
margin-left: auto;
|
||||||
|
padding-bottom: 20em;
|
||||||
}
|
}
|
||||||
|
|
||||||
nav, footer {
|
nav, footer {
|
||||||
|
|
Loading…
Reference in New Issue