Topic: Please give me a simple example of the Reveal Animations When Scrolling?

Zhe Lee pro asked 5 years ago

I read the tutorial, but don't know where to add the wow = init code,Please give me a simple example about it. Thanks in advance.


I add the "new WOW().init();" to my customize css file.

and add this code into the html code "<img src="" class="wow fadeInUp">"


but it won't work.

twentyfour pro commented 5 years ago

Shouldn't you also add animated to your classes? Like class=”wow fadeInUp animated”?

Ollie Vincent pro commented 5 years ago

No - you dont need the animated class. Place the JS just before the closing body tag

Jakub Strebeyko staff answered 5 years ago

Hi Zhe Lee,

WOW.js is a JavaScript feature and as such requires initialization in your custom .js file included to your HTML file or directly inside it, between the <script>...</script> tags (and not CSS).

With Best Regards,

Please insert min. 20 characters.


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


Specification of the issue

  • User: Pro
  • Premium support: No
  • Technology: General Bootstrap questions
  • MDB Version: -
  • Device: -
  • Browser: -
  • OS: -
  • Provided sample code: Yes
  • Provided link: No