On scroll animations

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

Kami mempunyai 23 pengunjung dan tiada ahli dalam talian
Anda ingin memberi maklum balas atau menyampaikan aduan? Hubungi kami:

Jabatan Hal Ehwal Agama Islam Perlis
Kompleks Islam, Persiaran Jubli Emas 01000 Kangar, Perlis
(+60) 04 9794400
Jabatan Hal Ehwal Agama Islam Perlis tidak akan bertanggungjawab atas sebarang kehilangan data atau kerugian yang berlaku disebabkan penggunaan portal ini. Paparan terbaik gunakan Google Chrome atau Mozilla Firefox pada resolusi 1024x768 pixel.
Top