A box-sizing ad can be switched using model models. When you add a border-box , the sizes of the fields will be applied to the border. External dimensions will be 102px by 102px (including border).
When you use display:table-cell; , height will allow the declaration of height and width , it will draw as a 102px by 102px field.
But in fact, only in IE firefox and -webkit will draw 100px by 102px, because MS formats the table cell as a block level element, but firefox and -webkit not, height will allow the height of the line, if it is not specified, it will allow height . which you defined for drawing (including the border).
source share