The CSS Box Model

box-sizing: border-box fixes the Box model

HTML Valid