1
0
Fork 0
mirror of https://github.com/twbs/bootstrap.git synced 2022-11-09 12:25:43 -05:00

add skew mixin

This commit is contained in:
Mark Otto 2012-01-30 07:54:47 -08:00
parent 9f5b619094
commit 2c8ca4f5e2
2 changed files with 14 additions and 1 deletions

Binary file not shown.

View file

@ -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"