On Scroll Animations

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-sr="enter left and move 50px over 1.33s"> Foo </div>
<div data-sr="enter from the bottom after 1s"> Bar </div>
<div data-sr="wait 2.5s and then ease-in-out 100px"> Baz </div>

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

  • خیابان سعدی شمالی- خیابان شهید برادران قائدی - ساختمان بهار - طبقه دوم - واحد 12
  • 021-77682429
  • 09369322333
  • این آدرس ایمیل توسط spambots حفاظت می شود. برای دیدن شما نیاز به جاوا اسکریپت دارید

غذاهای جدید

ارسال پیام

  Mail is not sent.   Your email has been sent.