jQuery+CSS3實現(xiàn)樹葉飄落特效
更新時間:2015年02月01日 10:28:32 投稿:hebedich
本文給大家分享的是一段使用jQuery+CSS3實現(xiàn)樹葉飄落特效的代碼,效果非常不錯,分享給大家,希望大家能夠喜歡
請使用Chrome瀏覽器查看本效果。
html源代碼:
復(fù)制代碼 代碼如下:
<!DOCTYPE HTML>
<html>
<head>
<title>HTML5樹葉飄落動畫-柯樂義</title><base target="_blank" />
<meta charset="utf-8">
<meta name="viewport" content="width=500px, initial-scale=0.64">
<link rel="apple-touch-icon" />
<!-- The leaves.css file animates the leaves -->
<link rel="stylesheet" type="text/css" media="screen" charset="utf-8">
<script type="text/javascript" src="http://keleyi.com/keleyi/pmedia/jquery/jquery-1.11.2.min.js"></script>
<!-- The leaves.js file creates the leaves -->
<script src="http://keleyi.com/keleyi/phtml/css3/15/leaves.js" type="text/javascript" charset="utf-8"></script>
</head>
<body>
<div style="text-align: center; clear: both; margin-top:0px">
<span id="keleyi">
請使用Chrome瀏覽器查看本頁。
</span>
</div>
<div id="container">
<!-- The container is dynamically populated using the init function in leaves.js -->
<!-- Its dimensions and position are defined using its id selector in leaves.css -->
<div id="leafContainer"></div>
<!-- its appearance, dimensions, and position are defined using its id selector in leaves.css -->
<div id="message">
<em>落紅不是無情物</em>
</div>
</div>
</body>
</html>
非常適合個人主頁或者博客的一個特效,喜歡此特效的小伙伴直接拿走吧,自由擴展下也可以哦。
相關(guān)文章
jQuery實現(xiàn)大轉(zhuǎn)盤抽獎活動仿QQ音樂代碼分享
這篇文章主要展示了jQuery實現(xiàn)大轉(zhuǎn)盤抽獎活動仿QQ音樂實現(xiàn)代碼,需要的朋友可以參考下2015-08-08
easyui combotree加載靜態(tài)數(shù)據(jù)問題(選不上)解決方法
這篇文章主要介紹了easyui combotree加載靜態(tài)數(shù)據(jù)問題,選不上)2016-12-12
關(guān)于jquery.validate1.9.0前臺驗證的使用介紹
本篇文章介紹了,關(guān)于jquery.validate1.9.0前臺驗證的使用。需要的朋友參考下2013-04-04
jQuery模擬物體自由落體運動(附演示與demo源碼下載)
這篇文章主要介紹了jQuery模擬物體自由落體運動的方法,并附帶了效果演示與demo源碼下載,可真是模擬出球體自由落體運動及動能損耗的運動過程,需要的朋友可以參考下2016-01-01

