WowJS: adds a simple animation to the page to share.

time:17-06-12 forum:HTML web page, JS language and code
  http://ourjs.com/detail/558fdaee20cbb7f655000012

by WOW.js, you can gradually release these animations in the process of rolling down.

by default, when you scroll down the page, you can gradually display CSS animation. It usually uses the animated effect of animate.css. However, you can easily set up your favorite animation library.

advantages

more lightweight than other JavaScript visual plug-ins, like Scrollorama (which is too heavy, our requirements are very simple)

super simple installation, with animate.css, only a few lines of code.

simply use

HTML

when rolling to these two secion, it will roll out separately from left / right.

[code].lt; section class=.quot; wow slideInLeft.quot;.Gt;.Lt; /section.gt;
.lt. Wow', animation speed and other

HTML
[code].lt; section class=.quot; wow slideInLeft.quot; data-wow-duration=.quot; 2s.quot. ;.Lt; /section.gt;
[/code]

JavaScript
[code]
var wow = new WOW. Element when triggering the animation (default is 0)
mobile: true, / / trigger animations. S fired every time an animation is started
> > > address:
DEMO address: http://mynameismatthieu.com/WOW/

prev:24 hours of not closed heart chicken sou... next:WOW.js - making the page scrolling more ...
post comment
Notice



approved   What's the use and use of the social...   A glimpse of the Intangible Cultural...   The couple made tea by hand in deep ...   What day can "star children" be inte...   Ji'nan Qianfo Hill Xingguo monastery...
rand   The UL in CSS is detailed with the L...   CSS UL Li picture - non - change - c...   Navigate horizontally with UL and Li   An introduction to the difference be...   Interesting JS background animation ...
ads

other

Because all the contents of this site are reproduced from other media, the intention is to provide free services to the public, but it does not mean that this site agrees with its views, and can not be responsible for the authenticity of its verification, such as the copyright unit or individual of the manuscript does not want to publish on this site, please Contact me, I will immediately remove it, thank you. Contact: atseashawk@163.com