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:
parent
c04f95032d
commit
6503cb0822
@ -27,24 +27,24 @@
|
|||||||
|
|
||||||
// WebKit CSS3 transforms for supported devices
|
// WebKit CSS3 transforms for supported devices
|
||||||
@media all and (transform-3d), (-webkit-transform-3d) {
|
@media all and (transform-3d), (-webkit-transform-3d) {
|
||||||
transition: transform .6s ease-in-out;
|
.transition-transform(~'0.6s ease-in-out');
|
||||||
backface-visibility: hidden;
|
.backface-visibility(~'hidden');
|
||||||
perspective: 1000;
|
.perspective(1000);
|
||||||
|
|
||||||
&.next,
|
&.next,
|
||||||
&.active.right {
|
&.active.right {
|
||||||
transform: translate3d(100%, 0, 0);
|
.translate3d(100%, 0, 0);
|
||||||
left: 0;
|
left: 0;
|
||||||
}
|
}
|
||||||
&.prev,
|
&.prev,
|
||||||
&.active.left {
|
&.active.left {
|
||||||
transform: translate3d(-100%, 0, 0);
|
.translate3d(-100%, 0, 0);
|
||||||
left: 0;
|
left: 0;
|
||||||
}
|
}
|
||||||
&.next.left,
|
&.next.left,
|
||||||
&.prev.right,
|
&.prev.right,
|
||||||
&.active {
|
&.active {
|
||||||
transform: translate3d(0, 0, 0);
|
.translate3d(0, 0, 0);
|
||||||
left: 0;
|
left: 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user