1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-19 11:51:23 +02:00

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

This reverts commit b10b373c60.

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