Daniel Santos free asked 6 years ago

I want to create a carousel with images that fadeIn on the image getting active and fadeOut just before the active image switch to another image.

For now I only can make the part where the image fadeIn. I would like it to fadeOut just before it switches to another image.

Here is my code:

<!--Carousel Wrapper--><br />
<!--Indicators--><!--/.Indicators--><br />
<p><img src="http://mdbootstrap.com/img/Photos/Horizontal/Nature/full%20page/img%20(1).jpg" alt="First slide" /></p>
Material Design for Bootstrap 4
The most powerful and free UI KIT for Bootstrap
<li><a href="http://mdbootstrap.com/getting-started/">Sign up!</a></li>
<li><a href="http://mdbootstrap.com/material-design-for-bootstrap/">Learn more</a></li>
<p><img src="http://mdbootstrap.com/img/Photos/Horizontal/Nature/full%20page/img%20(2).jpg" alt="Second slide" /></p>
Lots of tutorials at your disposal
<li>And all of them FREE!</li>
<li><a href="http://mdbootstrap.com/bootstrap-tutorial/">Start learning</a></li>
<p><img src="http://mdbootstrap.com/img/Photos/Horizontal/Nature/full%20page/img%20(3).jpg" alt="First slide" /></p>
Visit our support forum
<li>Our community can help with any question</li>
<li><a href="http://mdbootstrap.com/forums/forum/support/">Support forum</a></li>
<p><!--/.Slides--><br />
<p><span>Previous</span><br />
<p><!--Carousel Wrapper--></p>

Mirosław Stasiak free commented 6 years ago

Please, enter your code correctly. It is difficult to read now.

Daniel Santos free commented 6 years ago

Thank you for your interest Miroslaw. I don't know how to make the code appear correctly. I tried also with the code tag but it appears the same as above. Any way, I did it with a sliding carousel. My page is gonna stay like that.


Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.



Specification of the issue

  • ForumUser: Free
  • Premium support: No
  • Technology: General Bootstrap questions
  • MDB Version: -
  • Device: -
  • Browser: -
  • OS: -
  • Provided sample code: No
  • Provided link: No