七彩彩票

当前位置 : 七彩彩票 > 代码 > html5 css3 > html5实例 > 全屏导航背景引导页动画特效

全屏导航背景引导页动画特效

这是一款html5全屏的列表导航悬停动画效果,鼠标移到对应的导航和背景切换效果。适用于网站导航引导页动画模板。
分享到微信朋友圈
X

使用方法:

1、head引入css文件

<link rel="stylesheet" href="css/style.css">

2、body引入部分

<div class="c-work">
	<ul class="c-work__list js-work">
	
		<!-- WORK ITEM -->
		<li class="c-work__item">
			<div class="c-work-item js-work-item" data-work-preview-id="0">
				<span class="c-work-item__number u-b6">01</span>
				<div class="c-work-item__title">
					<h3 class="u-a6">产品中心</h3>
				</div>
				<span class="c-work-item__category u-b4"><i>/</i>网站</span>
			</div>
		</li>
		<!-- //WORK ITEM -->
		
		<!-- WORK ITEM -->
		<li class="c-work__item">
			<div class="c-work-item js-work-item" data-work-preview-id="1">
				<span class="c-work-item__number u-b6">02</span>
				<div class="c-work-item__title">
					<h3 class="u-a6">城市文化</h3>
				</div>
				<span class="c-work-item__category u-b4"><i>/</i>数字演示</span>
			</div>
		</li>
		<!-- //WORK ITEM -->
		
		<!-- WORK ITEM -->
		<li class="c-work__item">
			<div class="c-work-item js-work-item" data-work-preview-id="2">
				<span class="c-work-item__number u-b6">03</span>
				<div class="c-work-item__title">
					<h3 class="u-a6">X — 6</h3>
				</div>
				<span class="c-work-item__category u-b4"><i>/</i>网站</span>
			</div>
		</li>
		<!-- //WORK ITEM -->
		
		<!-- WORK ITEM -->
		<li class="c-work__item">
			<div class="c-work-item js-work-item" data-work-preview-id="3">
				<span class="c-work-item__number u-b6">04</span>
				<div class="c-work-item__title">
					<h3 class="u-a6">差异</h3>
				</div>
				<span class="c-work-item__category u-b4"><i>/</i>品牌</span>
			</div>
		</li>
		<!-- //WORK ITEM -->
		
		<!-- WORK ITEM -->
		<li class="c-work__item">
			<div class="c-work-item js-work-item" data-work-preview-id="4">
				<span class="c-work-item__number u-b6">05</span>
				<div class="c-work-item__title">
					<h3 class="u-a6">在线购物商城</h3>
				</div>
				<span class="c-work-item__category u-b4"><i>/</i>电子商务</span>
			</div>
		</li>
		<!-- //WORK ITEM -->
		
		<!-- WORK ITEM -->
		<li class="c-work__item">
			<div class="c-work-item js-work-item" data-work-preview-id="5">
				<span class="c-work-item__number u-b6">06</span>
				<div class="c-work-item__title">
					<h3 class="u-a6">普拉达 </h3>
				</div>
				<span class="c-work-item__category u-b4"><i>/</i>网站</span>
			</div>
		</li>
		<!-- //WORK ITEM -->
	</ul>
	
	<div class="c-work-preview">
	
		<div class="c-work-preview__canvas js-work-preview-list">
			<div class="canvas js-work-preview-canvas" data-displacement-map="img/7.jpg" style="background-image:url(img/7.jpg);"></div>
		</div>
		
		<ul class="c-work-preview__list js-work-preview-list">
			<!-- WORK ITEM PREVIEW -->
			<li class="c-work-preview__item"><i class="c-work-preview__image js-work-preview" data-work-preview="img/work-2.jpg" style="background-image: url(img/work-2.jpg);"></i></li>
			<!-- //WORK ITEM PREVIEW -->
			
			<!-- WORK ITEM PREVIEW -->
			<li class="c-work-preview__item"><i class="c-work-preview__image js-work-preview" data-work-preview="img/work-3.jpg" style="background-image: url(img/work-3.jpg);"></i></li>
			<!-- //WORK ITEM PREVIEW -->
		
			<!-- WORK ITEM PREVIEW -->
			<li class="c-work-preview__item"><i class="c-work-preview__image js-work-preview" data-work-preview="img/work-4.jpg" style="background-image: url(img/work-4.jpg);"></i></li>
			<!-- //WORK ITEM PREVIEW -->
		
			<!-- WORK ITEM PREVIEW -->
			<li class="c-work-preview__item"><i class="c-work-preview__image js-work-preview" data-work-preview="img/work-5.jpg" style="background-image: url(img/work-5.jpg);"></i></li>
			<!-- //WORK ITEM PREVIEW -->
		
			<!-- WORK ITEM PREVIEW -->
			<li class="c-work-preview__item"><i class="c-work-preview__image js-work-preview" data-work-preview="img/work-6.jpg" style="background-image: url(img/work-6.jpg);"></i></li>
			<!-- //WORK ITEM PREVIEW -->
		
			<!-- WORK ITEM PREVIEW -->
			<li class="c-work-preview__item"><i class="c-work-preview__image js-work-preview" data-work-preview="img/work-7.jpg" style="background-image: url(img/work-7.jpg);"></i></li>
			<!-- //WORK ITEM PREVIEW -->
		</ul>
	</div>
</div>

<script src='js/jquery.min.js'></script>
<script src='js/pixi.min.js'></script>
<script src='js/TweenMax.min.js'></script>
<script src="js/script.js"></script>
[声明]本站素材来自用户分享,仅限学习交流请勿用于商业用途。如损害你的权益请联系客服QQ:2447402004给予处理。
举报×
举报原因:

相关代码

二维码
×
×

注册

QQ注册 立即下载 新浪注册 立即下载

签到成功!

已连续签到1天,签到3天将获得积分VIP1天

知道了