diff options
| author | Bohdan Ganicky <[email protected]> | 2013-12-06 14:09:55 +0100 |
|---|---|---|
| committer | Bohdan Ganicky <[email protected]> | 2013-12-06 14:09:55 +0100 |
| commit | 9ce7e5620c47b5ec205c42948c42fc468c05686f (patch) | |
| tree | 849b088991780892a1cd96fa2024c960dcdb8919 /less | |
| parent | 7b06538c911f40c46ae67b0c0df7afdfbcb5d00a (diff) | |
| download | bootstrap-9ce7e5620c47b5ec205c42948c42fc468c05686f.tar.xz bootstrap-9ce7e5620c47b5ec205c42948c42fc468c05686f.zip | |
Updated .scale() mixin so that it accepts optional vertical scale factor parameter.
Diffstat (limited to 'less')
| -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 5c54c64c7..e0ff3f705 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); |
