Slider (Carousel) Bootstrap, How to change aninmation

0

I'm now starting to mess with both site and bootstrap, I'm using wordpress tbm. Ok my doubt is as follows, I would like to know if it is possible to change the default transition animation that comes with the standard bootstrap menu and add another animation during transitions from 1 slider to the other.

Analyzing the HTML I believe that the part that takes care of the animation is this part of the code.

<a class="left carousel-control" href="#carousel-example-generic" role="button" data-slide="prev">
  

data-slide="prev"

Seeing a slider with animations from other sites, I see that instead of "Data-Slide" is "Data-Animation" or something like that.

So ... you have to take care of this animation just by HTML, or I'll have to use css elements or even java-script.

Thank you in advance.

Bootstrap site slide code

<div id="carousel-example-generic" class="carousel slide" data-ride="carousel">
  <!-- Indicators -->
  <ol class="carousel-indicators">
    <li data-target="#carousel-example-generic" data-slide-to="0" class="active"></li>
    <li data-target="#carousel-example-generic" data-slide-to="1"></li>
    <li data-target="#carousel-example-generic" data-slide-to="2"></li>
  </ol>

  <!-- Wrapper for slides -->
  <div class="carousel-inner" role="listbox">
    <div class="item active">
      <img src="..." alt="...">
      <div class="carousel-caption">
        ...
      </div>
    </div>
    <div class="item">
      <img src="..." alt="...">
      <div class="carousel-caption">
        ...
      </div>
    </div>
    ...
  </div>

  <!-- Controls -->
  <a class="left carousel-control" href="#carousel-example-generic" role="button" data-slide="prev">
    <span class="glyphicon glyphicon-chevron-left" aria-hidden="true"></span>
    <span class="sr-only">Previous</span>
  </a>
  <a class="right carousel-control" href="#carousel-example-generic" role="button" data-slide="next">
    <span class="glyphicon glyphicon-chevron-right" aria-hidden="true"></span>
    <span class="sr-only">Next</span>
  </a>
</div>
    
asked by anonymous 16.09.2017 / 03:59

0 answers