Box sizing model

source

html {
  box-sizing: border-box;
}
*, *:before, *:after {
  box-sizing: inherit;
}