Thursday, February 16, 2012

box-sizing: border-box

http://paulirish.com/2012/box-sizing-border-box-ftw/

This gives you the box model you want. 

/* apply a natural box layout model to all elements */ * { -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box; }

Posted via email from miner49r

No comments: