Revision: 63490
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at May 11, 2013 20:20 by kickass
Initial Code
* { -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box; }
Initial URL
Initial Description
Forces padding to not be added to overall box dimensions but instead subtracted - good for frameworks. For example, a container 960px with a 20px border and a 20px padding added still remains 960px allowing me to enjoy my life free of pesky maths. Old skool goodness!
Initial Title
css border-box magical goodness
Initial Tags
css
Initial Language
CSS