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
30d1236a
Commit
30d1236a
authored
10 years ago
by
Hayden Bleasel
Browse files
Options
Download
Email Patches
Plain Diff
CSS3 Carousel code formatting
parent
d6d8e204
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
less/carousel.less
+8
-3
less/carousel.less
with
8 additions
and
3 deletions
+8
-3
less/carousel.less
+
8
-
3
View file @
30d1236a
...
@@ -30,15 +30,20 @@
...
@@ -30,15 +30,20 @@
.transition-transform(~'0.6s ease-in-out');
.transition-transform(~'0.6s ease-in-out');
.backface-visibility(~'hidden');
.backface-visibility(~'hidden');
.perspective(1000);
.perspective(1000);
&.next, &.active.right {
&.next,
&.active.right {
.translate3d(100%, 0, 0);
.translate3d(100%, 0, 0);
left: 0;
left: 0;
}
}
&.prev, &.active.left {
&.prev,
&.active.left {
.translate3d(-100%, 0, 0);
.translate3d(-100%, 0, 0);
left: 0;
left: 0;
}
}
&.next.left, &.prev.right, &.active {
&.next.left,
&.prev.right,
&.active {
.translate3d(0, 0, 0);
.translate3d(0, 0, 0);
left: 0;
left: 0;
}
}
...
...
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