Switch to border-box by default.

This commit is contained in:
voussoir 2019-09-10 15:32:35 -07:00
parent 1a395886ef
commit cac18b76d0
2 changed files with 7 additions and 2 deletions

View file

@ -24,6 +24,12 @@
html html
{ {
height: 100vh; height: 100vh;
box-sizing: border-box;
}
*, *:before, *:after
{
box-sizing: inherit;
} }
body body
@ -54,7 +60,6 @@ input::placeholder, textarea::placeholder
opacity: 1; opacity: 1;
} }
body body
{ {
display: grid; display: grid;

View file

@ -97,7 +97,7 @@
/10px auto; /10px auto;
min-width: 150px; min-width: 150px;
max-width: 300px; max-width: 300px;
height: 210px; height: 225px;
padding: 8px; padding: 8px;
margin: 8px; margin: 8px;