Skip to content

Instantly share code, notes, and snippets.

@yokotak0527 yokotak0527/gist:7020366
Last active Dec 25, 2015

Embed
What would you like to do?
ベンダープレフィックスを付ける即席のあれ。
@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
You can’t perform that action at this time.