0
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-01-30 22:52:24 +01:00

Revert "Follow-up to #13074: use spec syntax instead of deprecated mixins"

This reverts commit b10b373c6019666dbe1152245c9efdf214ceaa6a.

Resolves #14937.
This commit is contained in:
Heinrich Fenkart 2014-11-17 18:54:55 +01:00
parent c04f95032d
commit 6503cb0822

View File

@ -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;
}
}