我的购物车
(0)个产品 - ¥:0.00
你的购物车没有任何物品!

在滚动的动画

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


收藏
0个人 收藏

联系我们

  • icon
    地址:广西南宁市良庆区银海大道138号
  • icon
    电话 : 18260984219
Top