Skip to content

Commit

Permalink
(less) Merge pull request twbs#11748 from bganicky/patch-1
Browse files Browse the repository at this point in the history
Updated .scale() mixin so that it accepts optional vertical scale factor...
  • Loading branch information
mdo committed Dec 8, 2013
2 parents da186f4 + 0d533c8 commit 9085057
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions mixins.less
Original file line number Diff line number Diff line change
Expand Up @@ -150,10 +150,10 @@
-ms-transform: rotate(@degrees); // IE9+
transform: rotate(@degrees);
}
.scale(@ratio) {
-webkit-transform: scale(@ratio);
-ms-transform: scale(@ratio); // IE9+
transform: scale(@ratio);
.scale(@ratio; @ratio-y...) {
-webkit-transform: scale(@ratio, @ratio-y);
-ms-transform: scale(@ratio, @ratio-y); // IE9+
transform: scale(@ratio, @ratio-y);
}
.translate(@x; @y) {
-webkit-transform: translate(@x, @y);
Expand Down

0 comments on commit 9085057

Please sign in to comment.