CSS Tips (Part 1): Resolving Div Expansion After Adding Padding

Publish: 2016-05-04 | Modify: 2018-08-04

-moz-box-sizing: border-box; /*Firefox3.5+*/ -webkit-box-sizing: border-box; /*Safari3.2+*/ -o-box-sizing: border-box; /*Opera9.6*/ -ms-box-sizing: border-box; /*IE8*/ box-sizing: border-box;

Original source: CSS Tricks (Part 1) - Solving Div Overflow with Padding, all rights reserved to the original author. If there is any infringement, please contact QQ:337003006 to delete.


Comments