On scroll animations

31 七月 2014
作家 :  

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

2041 意見
فراصنعت

联系方式

  • 德黑蘭 - 大道 塔紮 - 街道代孕母親法拉哈尼 - 阿勒萬德胡同 - 13 號 - 三樓 - 單位 15
  •   +98 (21) 88326453 - 88326704
  • 88326453
  • Email住址會使用灌水程式保護機制。你需要啟動Javascript才能觀看它

发送消息

System - Sj Contact Ajax plugin is missing. Please install this plugin before!

فرم رسیدگی به شکایات

Top