Skip to content

Instantly share code, notes, and snippets.

@asilbalaban
Last active August 29, 2015 14:03
Show Gist options
  • Save asilbalaban/580b13ae3c30bc867fa4 to your computer and use it in GitHub Desktop.
Save asilbalaban/580b13ae3c30bc867fa4 to your computer and use it in GitHub Desktop.
box sizing border-box
/* apply a natural box layout model to all elements */
*, *:before, *:after {
-moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment