Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Sass mixins
.box {
-webkit-border-radius: 13px;
-moz-border-radius: 13px;
-ms-border-radius: 13px;
border-radius: 13px;
}
// ----
// Sass (v3.4.9)
// Compass (v1.0.1)
// ----
@mixin border-radius($radius) {
-webkit-border-radius: $radius;
-moz-border-radius: $radius;
-ms-border-radius: $radius;
border-radius: $radius;
}
.box {
@include border-radius(13px);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.