aboutsummaryrefslogtreecommitdiff
path: root/less
diff options
context:
space:
mode:
authorHeinrich Fenkart <[email protected]>2014-08-04 06:19:42 +0200
committerHeinrich Fenkart <[email protected]>2014-08-04 06:19:42 +0200
commitb10b373c6019666dbe1152245c9efdf214ceaa6a (patch)
treed84dd21b896ca000a650898ce3411686fdd78beb /less
parent6424acf69ae40a916db04b5c3235f1780f11b4be (diff)
downloadbootstrap-b10b373c6019666dbe1152245c9efdf214ceaa6a.tar.xz
bootstrap-b10b373c6019666dbe1152245c9efdf214ceaa6a.zip
Follow-up to #13074: use spec syntax instead of deprecated mixins
Diffstat (limited to 'less')
-rw-r--r--less/carousel.less14
1 files changed, 7 insertions, 7 deletions
diff --git a/less/carousel.less b/less/carousel.less
index c11470142..5724d8a56 100644
--- a/less/carousel.less
+++ b/less/carousel.less
@@ -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;
}
}