简体   繁体   English

CSS3焦点动画

[英]CSS3 On Focus Animation

I am trying to create a one page site and I wish to add CSS3 animation effects. 我正在尝试创建一个页面站点,并且希望添加CSS3动画效果。 I wish them to load only when the elements are in focus or show up on the screen as in the below examples 我希望它们仅在元素处于焦点或显示在屏幕上时才加载,如以下示例所示

http://iplayinsandboxes.com/ http://iplayinsandboxes.com/

http://joy-interactive.com/thats-joy http://joy-interactive.com/thats-joy

I know they are transitions. 我知道他们是过渡。 But not really sure how do we load them. 但是不确定如何加载它们。

Any advice and readymade toolkits / jQuery will be really helpful. 任何建议和现成的工具包/ jQuery都将非常有用。

Thanks in advance ! 提前致谢 !

If i correctly understand you - by "focus" you mean what window was scrolled and now some block is visible, like in your example. 如果我正确地理解了您-通过“聚焦”,您的意思是滚动了哪个窗口,现在可以看到一些块了,例如您的示例。

If so, i think this plugin should help you 如果是这样,我认为这个插件应该可以为您提供帮助

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM