Skip to content

Instantly share code, notes, and snippets.

@joshuatuscan
Created March 11, 2013 21:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save joshuatuscan/5137726 to your computer and use it in GitHub Desktop.
Save joshuatuscan/5137726 to your computer and use it in GitHub Desktop.
Border Radius Mixin
@mixin round-corners($top-left, $top-right, $bottom-right, $bottom-left) {
-webkit-border-top-left-radius: $top-left;
-webkit-border-top-right-radius: $top-right;
-webkit-border-bottom-right-radius: $bottom-right;
-webkit-border-bottom-left-radius: $bottom-left;
-moz-border-radius-topleft: $top-left;
-moz-border-radius-topright: $top-right;
-moz-border-radius-bottomright: $bottom-right;
-moz-border-radius-bottomleft: $bottom-left;
border-top-left-radius: $top-left;
border-top-right-radius: $top-right;
border-bottom-right-radius: $bottom-right;
border-bottom-left-radius: $bottom-left;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment