diff options
| author | Mark Otto <[email protected]> | 2013-12-08 01:49:38 -0800 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2013-12-08 01:49:38 -0800 |
| commit | e43e87b2f30a9f4967818f1ce8d25a4f88a1f490 (patch) | |
| tree | d1b1f244e8722213e613655d122b0ab40b6befc2 | |
| parent | 12500047f984cbd921e810f7f9628556f49a282e (diff) | |
| parent | 9ce7e5620c47b5ec205c42948c42fc468c05686f (diff) | |
| download | bootstrap-e43e87b2f30a9f4967818f1ce8d25a4f88a1f490.tar.xz bootstrap-e43e87b2f30a9f4967818f1ce8d25a4f88a1f490.zip | |
Merge pull request #11748 from bganicky/patch-1
Updated .scale() mixin so that it accepts optional vertical scale factor...
| -rw-r--r-- | less/mixins.less | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/less/mixins.less b/less/mixins.less index 2703a337a..9ef72fef7 100644 --- a/less/mixins.less +++ b/less/mixins.less @@ -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); |
