vendor/assets/stylesheets/mice/_mixins.scss in mice-0.2.5 vs vendor/assets/stylesheets/mice/_mixins.scss in mice-0.2.7

- old
+ new

@@ -95,9 +95,26 @@ -webkit-transition-timing-function: $function; -moz-transition-timing-function: $function; transition-timing-function: $function; } +@mixin transition-transform($transition...) { + -webkit-transition: -webkit-transform $transition; + -moz-transition: -moz-transform $transition; + -o-transition: -o-transform $transition; + transition: transform $transition; +} + +@mixin translate($x, $y) { + -webkit-transform: translate($x, $y); + -ms-transform: translate($x, $y); // IE9 only + -o-transform: translate($x, $y); + transform: translate($x, $y); +} +@mixin translate3d($x, $y, $z) { + -webkit-transform: translate3d($x, $y, $z); + transform: translate3d($x, $y, $z); +} // Animations // -------------------------------------------------- @mixin animation-name($name) { -webkit-animation-name: $name;