Created
March 14, 2015 21:05
-
-
Save jasonkmccoy/e80f94135b1d226a087a to your computer and use it in GitHub Desktop.
Circle 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
/* Include the border-radius mixin */ | |
=border-radius($radius) | |
-webkit-border-radius: $radius | |
-moz-border-radius: $radius | |
-ms-border-radius: $radius | |
border-radius: $radius | |
/* Circle Mixin */ | |
=circle | |
+border-radius(100%) | |
/* Usage */ | |
div | |
+circle |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
http://www.developerdrive.com/2014/11/15-essential-sass-mixins/