Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我去了一个网站http://wishbone.org/,当你看到一堆卡通人物的图形时,它会改变颜色,但当你到达它时它就会开始。没有预定时间。他们是怎么做到的?
诀窍是处理“滚动”事件并等待特定元素变为可见,或等待滚动“顶部”距离达到某个最小值。