Skip to content

Instantly share code, notes, and snippets.

@robertmagnusson
Created February 11, 2014 15:08
Show Gist options
  • Save robertmagnusson/8936594 to your computer and use it in GitHub Desktop.
Save robertmagnusson/8936594 to your computer and use it in GitHub Desktop.
Box sizing mixin
@mixin box-sizing($box-model) {
-webkit-box-sizing: $box-model; // Safari <= 5
-moz-box-sizing: $box-model; // Firefox <= 19
box-sizing: $box-model;
}
*,
*:after,
*:before {
@include box-sizing(border-box);
}
@Toaster16mb
Copy link

thx

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment