diff options
| author | Mark Otto <[email protected]> | 2012-01-30 07:54:47 -0800 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2012-01-30 07:54:47 -0800 |
| commit | 2c8ca4f5e284d5160e021071ec5cda46710bb78d (patch) | |
| tree | cd2e6307c6149086c2edfa4a5dba762d2208e07f | |
| parent | 9f5b619094e9023d775e2ebd438ed2d327baeda2 (diff) | |
| download | bootstrap-2c8ca4f5e284d5160e021071ec5cda46710bb78d.tar.xz bootstrap-2c8ca4f5e284d5160e021071ec5cda46710bb78d.zip | |
add skew mixin
| -rw-r--r-- | docs/assets/bootstrap.zip | bin | 51960 -> 51960 bytes | |||
| -rw-r--r-- | less/mixins.less | 15 |
2 files changed, 14 insertions, 1 deletions
diff --git a/docs/assets/bootstrap.zip b/docs/assets/bootstrap.zip Binary files differindex 7e6f0e7a3..c6153a061 100644 --- a/docs/assets/bootstrap.zip +++ b/docs/assets/bootstrap.zip diff --git a/less/mixins.less b/less/mixins.less index 39e1d8796..804f834e5 100644 --- a/less/mixins.less +++ b/less/mixins.less @@ -237,7 +237,6 @@ - // Input grid system // ------------------------- #inputGridSystem { @@ -314,6 +313,20 @@ -o-transform: translate(@x, @y); transform: translate(@x, @y); } +.skew(@x: 0, @y: 0) { + -webkit-transform: translate(@x, @y); + -moz-transform: translate(@x, @y); + -ms-transform: translate(@x, @y); + -o-transform: translate(@x, @y); + transform: translate(@x, @y); +} +.skew(@x: 0, @y: 0) { + -webkit-transform: skew(@x, @y); + -moz-transform: skew(@x, @y); + -ms-transform: skew(@x, @y); + -o-transform: skew(@x, @y); + transform: skew(@x, @y); +} // Background clipping // Heads up: FF 3.6 and under need "padding" instead of "padding-box" |
