Using Border-box

Implement the CSS box-sizing property with the value "border-box" for better box model behavior.

Code

*, *:before, *:after {
-moz-box-sizing: border-box;
-webkit-box-sizing: border-box;
box-sizing: border-box;
}