1
0
Fork 0
mirror of https://github.com/twbs/bootstrap.git synced 2022-11-09 12:25:43 -05:00

Carousel fade cleanup (#27278)

This commit is contained in:
Martijn Cuppens 2018-10-21 08:55:43 +02:00 committed by XhmikosR
parent fccdda5448
commit 2a28c7d9fd

View file

@ -82,8 +82,8 @@
.carousel-fade { .carousel-fade {
.carousel-item { .carousel-item {
opacity: 0; opacity: 0;
transition-duration: .6s;
transition-property: opacity; transition-property: opacity;
transform: none;
} }
.carousel-item.active, .carousel-item.active,
@ -96,18 +96,6 @@
.active.carousel-item-right { .active.carousel-item-right {
opacity: 0; opacity: 0;
} }
.carousel-item-next,
.carousel-item-prev,
.carousel-item.active,
.active.carousel-item-left,
.active.carousel-item-prev {
transform: translateX(0);
@supports (transform-style: preserve-3d) {
transform: translate3d(0, 0, 0);
}
}
} }