Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
W

WOW

> 编程语言
Open source

Reveal CSS animation as you scroll down a page

9.9K stars0 likes1 views
WebsiteGitHub

About

Reveal CSS animation as you scroll down a page

WOW.js

Reveal CSS animation as you scroll down a page. By default, you can use it to trigger animate.css animations. But you can easily change the settings to your favorite animation library.

Advantages:

  • Smaller than other JavaScript parallax plugins, like Scrollorama (they do fantastic things, but can be too heavy for simple needs)
  • Super simple to install, and works with animate.css, so if you already use it, that will be very fast to setup
  • Fast execution and lightweight code: the browser will like it ;-)
  • You can change the settings - see below

Follow @mattdelac_ for updates as WOW evolves.

LIVE DEMO ➫

Version

1.1.3

License

Commercial license

If you want to use WOW.js to develop commercial sites, themes, projects, and applications, the Commercial license is the appropriate license. With this option, your source code is kept proprietary. Purchase a WOW.js Commercial License at uplabs.com/posts/wow-js-commercial

Open source license

If you are creating an open source application under a license compatible with the GNU GPL license v3, you may use this project under the terms of the GPLv3.

Documentation

It just take seconds to install and use WOW.js! Read the documentation ➫

Dependencies

  • animate.css

Installation

  • Bower
bash
   bower install wowjs
  • NPM
bash
   npm install wowjs

Basic usage

In order to hide all elements when they are supposed to be hidden. (Anti Flickering)

  • CSS .wow { visibility: hidden; }

  • HTML

xml
  <section class="wow slideInLeft"></section>
  <section class="wow slideInRight"></section>
  • JavaScript
javascript
new WOW().init();

Advanced usage

  • HTML
xml
  <section class="wow slideInLeft" data-wow-duration="2s" data-wow-delay="5s"></section>
  <section class="wow slideInRight" data-wow-offset="10"  data-wow-iteration="10"></section>
  • JavaScript
…

Asynchronous content support

In IE 10+, Chrome 18+ and Firefox 14+, animations will be automatically triggered for any DOM nodes you add after calling wow.init(). If you do not like that, you can disable this by setting live to false.

If you want to support older browsers (e.g. IE9+), as a fallback, you can call the wow.sync() method after you have added new DOM elements to animate (but live should still be set to true). Calling wow.sync() has no side effects.

Contribute

You're more than welcome to contribute to this project. Please note: your code may be used as part of a commercial product if merged. Be clear about what license applies to your patch. The MIT license or public domain unlicense are permissive, and allow integration of your patch into this project as part of a commercial product.

The library is written in CoffeeScript, please update wow.coffee file.

We use grunt to compile and minify the library:

Install needed libraries

bash
npm install

Get the compilation running in the background

grunt watch

Enjoy!

Bug tracker

If you find a bug, please report it here on Github!

Developer

Developed by Matt Delac, delac.io

  • @mattdelac
  • Github Profile

Contributors

Thanks to everyone who has contributed to the project so far:

  • Attila Oláh - @attilaolah - Github Profile
  • and many others

Initiated and designed by Vincent Le Moign, @webalys

Issues· 191 open

View all issuesOpen on GitHub
  • #227

    Animations play twice on page load & refresh

    Updated Jan 9, 2025
  • #352

    Cannot set property 'getPropertyValue' of undefined

    Updated Jan 5, 2025
  • #383

    <section> inside #ul doesn't wowjs scroll animation properly

    Updated Dec 29, 2024
  • #378

    Can't buy a license

    Updated Oct 1, 2024
  • #379

    Issue with scrollContainer

    Updated Oct 1, 2024
  • #372

    When I use it in React,get error “Uncaught TypeError: Cannot set properties of undefined (setting 'getPropertyValue')”

    Updated Apr 30, 2024
  • #269

    CSS Property "overflow-x: hidden" disables the visibility and animation-name on the Div

    Updated Jan 25, 2024
  • #65

    Use with any scrollable div

    Updated Oct 17, 2023
  • #252

    WOW not defined using npm package.

    Updated Sep 28, 2023
  • #314

    Uncaught TypeError: b.className.replace is not a function

    Updated Aug 6, 2023

> Tags

JavaScript

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 29, 2026
Category编程语言
PricingOpen source

> Related tools

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言