Skip to content

Commit

Permalink
Follow-up to #13074: use spec syntax instead of deprecated mixins
Browse files Browse the repository at this point in the history
  • Loading branch information
hnrch02 committed Aug 4, 2014
1 parent 6424acf commit b10b373
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion dist/css/bootstrap.css.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/dist/css/bootstrap.css.map

Large diffs are not rendered by default.

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(~'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 b10b373

Please sign in to comment.