jQuery+CSS3实现树叶飘落特效
请使用Chrome浏览器查看本效果。
html源代码:
<!DOCTYPEHTML> <html> <head> <title>HTML5树叶飘落动画-柯乐义</title><basetarget="_blank"href="http://keleyi.com/keleyi/phtml/css3/"/> <metacharset="utf-8"> <metaname="viewport"content="width=500px,initial-scale=0.64"> <linkrel="apple-touch-icon"href="http://keleyi.com/keleyi/phtml/css3/15/images/apple-touch-icon.png"/> <!--Theleaves.cssfileanimatestheleaves--> <linkrel="stylesheet"href="http://keleyi.com/keleyi/phtml/css3/15/leaves.css"type="text/css"media="screen"charset="utf-8"> <scripttype="text/javascript"src="http://keleyi.com/keleyi/pmedia/jquery/jquery-1.11.2.min.js"></script> <!--Theleaves.jsfilecreatestheleaves--> <scriptsrc="http://keleyi.com/keleyi/phtml/css3/15/leaves.js"type="text/javascript"charset="utf-8"></script> </head> <body> <divstyle="text-align:center;clear:both;margin-top:0px"> <spanid="keleyi"> 请使用Chrome浏览器查看本页。 </span> </div> <divid="container"> <!--Thecontainerisdynamicallypopulatedusingtheinitfunctioninleaves.js--> <!--Itsdimensionsandpositionaredefinedusingitsidselectorinleaves.css--> <divid="leafContainer"></div> <!--itsappearance,dimensions,andpositionaredefinedusingitsidselectorinleaves.css--> <divid="message"> <em>落红不是无情物</em> </div> </div> </body> </html>
非常适合个人主页或者博客的一个特效,喜欢此特效的小伙伴直接拿走吧,自由扩展下也可以哦。
热门推荐
10 新年门口花束祝福语简短
11 盘锦结婚祝福语大全简短
12 父母生日祝福语 简短独特
13 家庭恩爱祝福语简短英文
14 高考俄语祝福语大全简短
15 虎年祝福语 诗句唯美简短
16 生日婚礼祝福语简短精辟
17 虎年喝酒拜年祝福语简短
18 教师闺蜜祝福语简短