Created
March 15, 2017 18:35
-
-
Save mwagz/e5e5b45c045ec0dd6df7ac5b97ce5ca4 to your computer and use it in GitHub Desktop.
This file contains 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 scaled($x, $y) { | |
-webkit-transform:translateZ(0); | |
-webkit-transform: scale( $x, $y ); | |
-moz-transform: scale( $x, $y ); | |
-ms-transform: scale( $x, $y ); | |
-o-transform: scale( $x, $y ); | |
transform: scale( $x, $y ); | |
} | |
// This could just be: | |
@mixin scaled($x, $y) { | |
@include transform(scale( $x, $y )); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment