]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
add skew mixin
authorMark Otto <markdotto@gmail.com>
Mon, 30 Jan 2012 15:54:47 +0000 (07:54 -0800)
committerMark Otto <markdotto@gmail.com>
Mon, 30 Jan 2012 15:54:47 +0000 (07:54 -0800)
docs/assets/bootstrap.zip
less/mixins.less

index 7e6f0e7a309cc60fbc509178c931528eeccbdcc7..c6153a061ae3e4d1c4aea2afa8ed71f423d61c9c 100644 (file)
Binary files a/docs/assets/bootstrap.zip and b/docs/assets/bootstrap.zip differ
index 39e1d87967d5a039162eea8e318399053b3dfbfe..804f834e5691d18ac2e8bf12beb07306219ea3ce 100644 (file)
 
 
 
-
 // Input grid system
 // -------------------------
 #inputGridSystem {
        -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"