Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Bootstrap
bootstrap
Commits
2c8ca4f5
Commit
2c8ca4f5
authored
13 years ago
by
Mark Otto
Browse files
Options
Download
Email Patches
Plain Diff
add skew mixin
parent
9f5b6190
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
docs/assets/bootstrap.zip
+0
-0
docs/assets/bootstrap.zip
less/mixins.less
+14
-1
less/mixins.less
with
14 additions
and
1 deletion
+14
-1
docs/assets/bootstrap.zip
+
0
-
0
View file @
2c8ca4f5
No preview for this file type
This diff is collapsed.
Click to expand it.
less/mixins.less
+
14
-
1
View file @
2c8ca4f5
...
@@ -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"
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment