I was going thru some single page website examples and found this: http://alwayscreative.net/. I am totally amazed by the disc in the background that rotates infinitely. i have looked at some examples but none worked that way. Can anyone tell me how was that implemented. Thanks.
相关问题
- Is there a limit to how many levels you can nest i
- How to toggle on Order in ReactJS
- How to fix IE ClearType + jQuery opacity problem i
- void before promise syntax
- jQuery add and remove delay
CSS3:
Here is how it is implemented in your example :
But I don't see any interest (I would dare say it seem a bit strange...)in putting browser prefixed transform in an other browser specific keyframes.
It also lack a generic keyframes and IE10 support so this is how I implemented it :
This example makes infinite rotation very well:
You Can test it here: http://jsfiddle.net/HS68a/2/
please check this line. we can use css3 to rotate the image. and i will tested in chrome is working fine http://jsfiddle.net/sUHKh/
I just did an "inspect element" in Chrome. Here's the CSS.