Last active
December 25, 2015 18:29
-
-
Save yokotak0527/7020366 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 keyframes($name){ | |
@-webkit-keyframes #{$name}{@content;} | |
@-moz-keyframes #{$name}{@content;} | |
@-ms-keyframes #{$name}{@content;} | |
@keyframes #{$name}{@content;} | |
} | |
@mixin apply-vendor($type,$val...){ @each $prefix in $vendors{ | |
#{$prefix}#{$type} : $val; } | |
} | |
// こんな感じで使う | |
// @include apply-vendor(transform,rotateY(360deg) rotateX(20deg)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment