基于jQ+CSS3页面滚动内容元素动画特效_html/css_WEB-ITnose

WBOY
發布: 2016-06-24 11:48:26
原創
1307 人瀏覽過

今天给大家分享一款基于jQ+CSS3页面滚动内容元素动画特效。这是一款基于jQuery+CSS3实现的页面滚动代码。该实例适用于适用浏览器:360、FireFox、Chrome、Safari、Opera、傲游、搜狗、世界之窗. 不支持IE8及以下浏览器。

在线预览   源码下载

实现的代码。

html代码:

  <div class="htmleaf-container">        <div class="container">            <h2 class="font-zh">                向下滚动页面看看效果!</h2>        </div>        <div class="container">            <h2>                Use Smoove to create smooth fade-in effects as you scroll down</h2>            <div class="row">                <div class="col-md-6">                    <div class="block">                    </div>                </div>                <div class="col-md-6">                    <div class="block">                    </div>                </div>            </div>            <h2>                You can also move objects across the screen...</h2>            <div class="row">                <div class="col-md-3">                    <div class="block" data-move-y="200px" data-move-x="-200px">                    </div>                </div>                <div class="col-md-3">                    <div class="block" data-move-y="200px" data-move-x="-100px">                    </div>                </div>                <div class="col-md-3">                    <div class="block" data-move-y="200px" data-move-x="100px">                    </div>                </div>                <div class="col-md-3">                    <div class="block" data-move-y="200px" data-move-x="200px">                    </div>                </div>            </div>            <h2>                ...or rotate them</h2>            <div class="row">                <div class="col-md-3">                    <div class="block" data-move-x="-500px" data-rotate="90deg">                    </div>                </div>                <div class="col-md-3">                    <div class="block" data-move-y="200px" data-move-x="-200px" data-rotate="45deg">                    </div>                </div>                <div class="col-md-3">                    <div class="block" data-move-y="200px" data-move-x="200px" data-rotate="-45deg">                    </div>                </div>                <div class="col-md-3">                    <div class="block" data-move-x="500px" data-rotate="-90deg">                    </div>                </div>            </div>            <h2>                Even use cool 3D effects</h2>            <div class="row">                <div class="col-md-4">                    <div class="block" data-rotate-x="90deg" data-move-z="-500px" data-move-y="200px">                    </div>                </div>                <div class="col-md-4">                    <div class="block" data-rotate-x="90deg" data-move-z="-500px" data-move-y="200px">                    </div>                </div>                <div class="col-md-4">                    <div class="block" data-rotate-x="90deg" data-move-z="-500px" data-move-y="200px">                    </div>                </div>            </div>            <div class="row">                <div class="col-md-3">                    <div class="block" data-rotate-y="180deg" data-move-z="-200px" data-move-x="-300px">                    </div>                </div>                <div class="col-md-3">                    <div class="block" data-rotate-x="180deg" data-rotate-y="180deg" data-move-z="-700px">                    </div>                </div>                <div class="col-md-3">                    <div class="block" data-rotate-x="180deg" data-rotate-y="45deg" data-move-z="-500px">                    </div>                </div>                <div class="col-md-3">                    <div class="block" data-rotate-y="180deg" data-move-z="-100px" data-move-x="500px">                    </div>                </div>            </div>            <div class="row">                <div class="col-md-6">                    <div class="block" data-rotate-y="270deg" data-move-x="-150%">                    </div>                </div>                <div class="col-md-6">                    <div class="block" data-rotate-y="270deg" data-move-x="150%">                    </div>                </div>            </div>            <h2>                Scale & skew them...</h2>            <div class="row">                <div class="col-md-6">                    <div class="block" data-scale="5">                    </div>                </div>                <div class="col-md-6">                    <div class="block" data-scale="0.2" data-skew="90deg,90deg">                    </div>                </div>            </div>            <h2>                Mix it up!</h2>        </div>    </div>
登入後複製

via:http://www.w2bc.com/Article/27243

來源:php.cn
本網站聲明
本文內容由網友自願投稿,版權歸原作者所有。本站不承擔相應的法律責任。如發現涉嫌抄襲或侵權的內容,請聯絡admin@php.cn
熱門教學
更多>
最新下載
更多>
網站特效
網站源碼
網站素材
前端模板