Skip to content

Commit

Permalink
(less) Follow-up to twbs#13074: use spec syntax instead of deprecated…
Browse files Browse the repository at this point in the history
… mixins
  • Loading branch information
hnrch02 committed Aug 4, 2014
1 parent 79b8a32 commit a27df22
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions 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(~'0.6s ease-in-out');
.backface-visibility(~'hidden');
.perspective(1000);
transition: transform .6s ease-in-out;
backface-visibility: hidden;
perspective: 1000;

&.next,
&.active.right {
.translate3d(100%, 0, 0);
transform: translate3d(100%, 0, 0);
left: 0;
}
&.prev,
&.active.left {
.translate3d(-100%, 0, 0);
transform: translate3d(-100%, 0, 0);
left: 0;
}
&.next.left,
&.prev.right,
&.active {
.translate3d(0, 0, 0);
transform: translate3d(0, 0, 0);
left: 0;
}
}
Expand Down

0 comments on commit a27df22

Please sign in to comment.