By applying the transition: CSS property only to classes that are
active during sliding, we avoid an unnecessary, non-zero-time
animation that although mostly invisible, does interfere with e.g.
z-index based parallax
display: none;
align-items: center;
width: 100%;
- @include transition($carousel-transition);
backface-visibility: hidden;
perspective: 1000px;
}
.carousel-item-next,
.carousel-item-prev {
display: block;
+ @include transition($carousel-transition);
}
.carousel-item-next,