jQuery+CSS3實(shí)現(xiàn)樹葉飄落特效
更新時(shí)間:2015年02月01日 10:28:32 投稿:hebedich
本文給大家分享的是一段使用jQuery+CSS3實(shí)現(xiàn)樹葉飄落特效的代碼,效果非常不錯(cuò),分享給大家,希望大家能夠喜歡
請使用Chrome瀏覽器查看本效果。
html源代碼:
復(fù)制代碼 代碼如下:
<!DOCTYPE HTML>
<html>
<head>
<title>HTML5樹葉飄落動(dòng)畫-柯樂義</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>
非常適合個(gè)人主頁或者博客的一個(gè)特效,喜歡此特效的小伙伴直接拿走吧,自由擴(kuò)展下也可以哦。
您可能感興趣的文章:
- 調(diào)整CSS類型的順序改變鏈接翻滾效果
- CSS圖片翻轉(zhuǎn)菜單
- 代碼實(shí)例之純CSS代碼實(shí)現(xiàn)翻頁效果
- 7款吸引人眼球的jQuery/CSS3特效實(shí)例分享
- wap手機(jī)圖片滑動(dòng)切換特效無css3元素js腳本編寫
- 2014 HTML5/CSS3熱門動(dòng)畫特效TOP10
- jquery+css3實(shí)現(xiàn)網(wǎng)頁背景花瓣隨機(jī)飄落特效
- js+css實(shí)現(xiàn)上下翻頁相冊代碼分享
- JS+CSS實(shí)現(xiàn)鼠標(biāo)滑過時(shí)動(dòng)態(tài)翻滾的導(dǎo)航條效果
- CSS3實(shí)現(xiàn)動(dòng)態(tài)翻牌效果 仿百度貼吧3D翻牌一次動(dòng)畫特效
相關(guān)文章
jQuery插件dataTables添加序號(hào)列的方法
這篇文章主要介紹了jQuery插件dataTables添加序號(hào)列的方法的相關(guān)資料,需要的朋友可以參考下2016-07-07兼容主流瀏覽器的jQuery+CSS 實(shí)現(xiàn)遮罩層的簡單代碼
比起使用注冊頁和登陸頁,網(wǎng)站在當(dāng)前頁使用遮罩層注冊和登陸的用戶體驗(yàn)要好不少。這里使用jQuery和CSS實(shí)現(xiàn)一個(gè)簡單的遮罩效果。2014-10-10jQuery效果 slideToggle() 方法(在隱藏和顯示之間切換)
slideToggle() 方法通過使用滑動(dòng)效果(高度變化)來切換元素的可見狀態(tài)。2011-06-06jQuery+formdata實(shí)現(xiàn)上傳進(jìn)度特效遇到的問題
這篇文章主要介紹了jQuery+formdata實(shí)現(xiàn)上傳進(jìn)度特效遇到的問題的相關(guān)資料,需要的朋友可以參考下2016-02-02