Created
March 14, 2015 20:55
-
-
Save jasonkmccoy/ce8caf003244df810459 to your computer and use it in GitHub Desktop.
Border-radius Mixin
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@mixin border-radius($radius) { | |
-webkit-border-radius: $radius; | |
-moz-border-radius: $radius; | |
-ms-border-radius: $radius; | |
border-radius: $radius; | |
} | |
// Usage | |
.box { | |
@include border-radius(10px); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
http://www.sass-lang.com/guide