How can I mimic Apple.com's intro animation first used with t开发者_运维百科he updated MacBook Air & Currently with the iPad 2?
I would do the following:
- Create the website with everything shown as normal
- Add
display: hidden;
(CSS) to every visible element on the page - Use jQuerys'
fadeIn()
to fade in the elements - Use
setTimeout()
to time thesefadeIn()
's to get the desired effect
Something like this: http://jsfiddle.net/wcqzd/ - it needs some work but it should give you a good base.
精彩评论