Skip to content

Instantly share code, notes, and snippets.

@ryanburgess
Last active December 30, 2015 18:09
Show Gist options
  • Save ryanburgess/7865456 to your computer and use it in GitHub Desktop.
Save ryanburgess/7865456 to your computer and use it in GitHub Desktop.
Add box sizing to your CSS using the Box Model SASS mixin.
// -----------------------------------------
// Box Model
// -------------------------------------------
@mixin box-sizing($box-model) {
-webkit-box-sizing: $box-model;
-moz-box-sizing: $box-model;
box-sizing: $box-model;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment