Skip to content

Commit

Permalink
Revert "Follow-up to twbs#13074: use spec syntax instead of deprecate…
Browse files Browse the repository at this point in the history
…d mixins"

This reverts commit b10b373.

Resolves twbs#14937.
  • Loading branch information
hnrch02 committed Nov 17, 2014
1 parent c04f950 commit 6503cb0
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions less/carousel.less
Original file line number Diff line number Diff line change
Expand Up @@ -27,24 +27,24 @@

// WebKit CSS3 transforms for supported devices
@media all and (transform-3d), (-webkit-transform-3d) {
transition: transform .6s ease-in-out;
backface-visibility: hidden;
perspective: 1000;

.transition-transform(~'0.6s ease-in-out');
.backface-visibility(~'hidden');
.perspective(1000);
&.next,
&.active.right {
transform: translate3d(100%, 0, 0);
.translate3d(100%, 0, 0);
left: 0;
}
&.prev,
&.active.left {
transform: translate3d(-100%, 0, 0);
.translate3d(-100%, 0, 0);
left: 0;
}
&.next.left,
&.prev.right,
&.active {
transform: translate3d(0, 0, 0);
.translate3d(0, 0, 0);
left: 0;
}
}
Expand Down

0 comments on commit 6503cb0

Please sign in to comment.