search

Home  >  Q&A  >  body text

css3动画效果疑问

就是我们常见的网页,当我们往下浏览的时候
先是隐藏的元素

开始可见然后执行动画效果


这种效果是具体怎么实现的楠?
我怎么知道我往下浏览的时候 到什么位置开始元素不隐藏了 然后执行动画。
并且只要我不刷新页面第二次往下浏览的时候 动画不在执行。因为现在页面元素已经不是隐藏状态了。

ringa_leeringa_lee2866 days ago559

reply all(2)I'll reply

  • PHP中文网

    PHP中文网2017-04-17 11:35:42

    JS determines the position, adds class and deletes class

    reply
    0
  • 大家讲道理

    大家讲道理2017-04-17 11:35:42

    Determine the height of the scroll bar. If you need the animated element to appear on the screen, add a class and use css3 transition to animate it

    reply
    0
  • Cancelreply