box width in css code example Example: box sizing html { box-sizing: border-box; } *, *:before, *:after { box-sizing: inherit; }