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

add skew mixin

parent 9f5b6190
Showing with 14 additions and 1 deletion
+14 -1
No preview for this file type
...@@ -237,7 +237,6 @@ ...@@ -237,7 +237,6 @@
// Input grid system // Input grid system
// ------------------------- // -------------------------
#inputGridSystem { #inputGridSystem {
...@@ -314,6 +313,20 @@ ...@@ -314,6 +313,20 @@
-o-transform: translate(@x, @y); -o-transform: translate(@x, @y);
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 // Background clipping
// Heads up: FF 3.6 and under need "padding" instead of "padding-box" // Heads up: FF 3.6 and under need "padding" instead of "padding-box"
......
Supports Markdown
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