aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2012-01-30 07:54:47 -0800
committerMark Otto <[email protected]>2012-01-30 07:54:47 -0800
commit2c8ca4f5e284d5160e021071ec5cda46710bb78d (patch)
treecd2e6307c6149086c2edfa4a5dba762d2208e07f
parent9f5b619094e9023d775e2ebd438ed2d327baeda2 (diff)
downloadbootstrap-2c8ca4f5e284d5160e021071ec5cda46710bb78d.tar.xz
bootstrap-2c8ca4f5e284d5160e021071ec5cda46710bb78d.zip
add skew mixin
-rw-r--r--docs/assets/bootstrap.zipbin51960 -> 51960 bytes
-rw-r--r--less/mixins.less15
2 files changed, 14 insertions, 1 deletions
diff --git a/docs/assets/bootstrap.zip b/docs/assets/bootstrap.zip
index 7e6f0e7a3..c6153a061 100644
--- a/docs/assets/bootstrap.zip
+++ b/docs/assets/bootstrap.zip
Binary files differ
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"