How do I change the transition speed (effect) Fade? (code below)

Asked

Viewed 23 times

0

It follows code I’m using, it’s worth mentioning that it’s working 100%, I just can’t (and I really want to) change the speed of the Fade effect.

Follows Code:

.carousel-fade .carousel-inner .item {
    -webkit-transition-property: opacity;
    transition-property: opacity;
}
.carousel-fade .carousel-inner .item,
.carousel-fade .carousel-inner .active.left,
.carousel-fade .carousel-inner .active.right {
    opacity: 0;
}
.carousel-fade .carousel-inner .active,
.carousel-fade .carousel-inner .next.left,
.carousel-fade .carousel-inner .prev.right {
    opacity: 1;
}
.carousel-fade .carousel-inner .next,
.carousel-fade .carousel-inner .prev,
.carousel-fade .carousel-inner .active.left,
.carousel-fade .carousel-inner .active.right {
    left: 0;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
}
.carousel-fade .carousel-control {
    z-index: 2;
}
html,
body,
.carousel,
.carousel-inner,
.item:nth-child(1) {
    background: white;
}
.item:nth-child(2) {
    background: white;
}
.item:nth-child(3) {
    background: white;
}
  • https://stackoverflow.com/questions/17332431/how-can-i-control-the-speed-that-bootstrap-carousel-slides-in-items

  • It has not changed, it remains the same. Is there a specific line to put the data you suggested, Leo?

  • I don’t know either, I just translated this link and it seemed like it would solve your problem

  • your page is online, can pass the link?

  • The page is stored on the local machine, not on the net.

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.