Skip to content

Instantly share code, notes, and snippets.

View andy-shea's full-sized avatar

Andy Shea andy-shea

  • London, United Kingdom
View GitHub Profile
@andy-shea
andy-shea / Sane Box Model
Created April 14, 2013 06:11
Set default box model to something more sane. Padding and margins will now be included within the specified width instead of adding to it.
*, *:before, *:after {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}