• Jul 31, 2014
  • by Super User

In the SJ Plus v2 template we have implemented the animation engine based on the scrollReveal.js script. This script makes creating elements onscroll animations very simple to define.

Thanks to this script you can describe an animation using natural language.

Description of the animation is placed in the data-scroll-reveal attribute:

<!-- These 3 lines are equivalent -->
<div data-scroll-reveal="enter left and move 50px over 1.33s"> Foo </div>
<div data-scroll-reveal="enter from the bottom after 1s"> Bar </div>
<div data-scroll-reveal="wait 2.5s and then ease-in-out 100px"> Baz </div>

The full description of the syntax is available on the project documentation page

Share:

Contact Info

  •  

    Address: 104 Main Collins Street West California 1007

  •  
    +1800-222-6666 +1833-232-9999
  •  

    This email address is being protected from spambots. You need JavaScript enabled to view it.

see you again

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque quis nisi tincidunt, molestie nunc vulputate mauris.

Alexander

Top
We use cookies to improve our website. By continuing to use this website, you are giving consent to cookies being used. More details…