Commit 2c8ca4f5 authored by Mark Otto's avatar Mark Otto

add skew mixin

parent 9f5b6190
......@@ -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"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment