Created
October 5, 2015 14:50
-
-
Save vpugh/d0e9343b73cd40268449 to your computer and use it in GitHub Desktop.
Generated by SassMeister.com.
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
| // ---- | |
| // Sass (v3.4.14) | |
| // Compass (v1.0.3) | |
| // ---- | |
| @mixin prefix($property, $value, $prefixes) { | |
| @each $prefix in $prefixes { | |
| #{$prefix}-#{$property}:$value; | |
| } | |
| #{$property}:$value; | |
| } | |
| @mixin border-radius($radius, $prefixes: -moz -webkit -o) { | |
| @include prefix(border-radius,$radius,$prefixes); | |
| } | |
| @mixin transform($transformation, $prefixes: -moz -web -ms -o){ | |
| @include prefix(transform, $transformation,$prefixes); | |
| } | |
| div { | |
| @include border-radius(5px); | |
| @include transform(scale(1)); | |
| } |
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
| div { | |
| -moz-border-radius: 5px; | |
| -webkit-border-radius: 5px; | |
| -o-border-radius: 5px; | |
| border-radius: 5px; | |
| -moz-transform: scale(1); | |
| -web-transform: scale(1); | |
| -ms-transform: scale(1); | |
| -o-transform: scale(1); | |
| transform: scale(1); | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment