Skip to content

Instantly share code, notes, and snippets.

@boriskaiser
Created November 15, 2012 13:17
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save boriskaiser/4078611 to your computer and use it in GitHub Desktop.
Save boriskaiser/4078611 to your computer and use it in GitHub Desktop.
mixin for border-radius (without compass )
@mixin border-radius($radius...) {
// defining prefixes so we can use them in mixins below
$prefixes: ("-webkit", "-moz", "-ms", "-o", "");
@each $prefix in $prefixes {
#{$prefix}-border-radius: $radius;
}
border-radius: $radius;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment