Install npm install box-sizing.css --save box-sizing.css html { box-sizing: border-box; } *, *:before, *:after { box-sizing: inherit; }