Commit 9ce7e562 authored by Bohdan Ganicky's avatar Bohdan Ganicky

Updated .scale() mixin so that it accepts optional vertical scale factor parameter.

parent 7b06538c
...@@ -150,10 +150,10 @@ ...@@ -150,10 +150,10 @@
-ms-transform: rotate(@degrees); // IE9+ -ms-transform: rotate(@degrees); // IE9+
transform: rotate(@degrees); transform: rotate(@degrees);
} }
.scale(@ratio) { .scale(@ratio; @ratio-y...) {
-webkit-transform: scale(@ratio); -webkit-transform: scale(@ratio, @ratio-y);
-ms-transform: scale(@ratio); // IE9+ -ms-transform: scale(@ratio, @ratio-y); // IE9+
transform: scale(@ratio); transform: scale(@ratio, @ratio-y);
} }
.translate(@x; @y) { .translate(@x; @y) {
-webkit-transform: translate(@x, @y); -webkit-transform: translate(@x, @y);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment