html5全屏导航图片视差网格预览特效代码下载



如需定制开发(网站开发、二次开发)在线咨询,请点击>> QQ:753511799

11 43 15



特效描述:全屏导航 图片视差 网格预览。今天我们想和大家分享一个html5 CSS3网格图片模板。在背景中显示导航和一些散乱的图像,这些图像具有轻微的视差效果。一旦“explore”按钮链接被点击,看似随机放置的项目动画到他们在网格中的最终位置。每个网格都有自己独特的布局。一旦动画完成,整个事情变得滚动,内容区域显示在网格下面。

代码结构

1. 引入CSS

<link href="https://fonts.googleapis.com/css?family=Anton|Niramit:400,600,700" rel="stylesheet">
<link rel="stylesheet" type="text/css" href="css/base.css" />
<link href="https://fonts.googleapis.com/css?family=Anton|Niramit:400,600,700" rel="stylesheet">
<link rel="stylesheet" type="text/css" href="css/base.css" />

2. 引入JS

<script src="js/imagesloaded.pkgd.min.js"></script>
<script src="js/TweenMax.min.js"></script>
<script src="js/demo.js"></script>
<script src="js/imagesloaded.pkgd.min.js"></script>
<script src="js/TweenMax.min.js"></script>
<script src="js/demo.js"></script>

3. HTML代码

<!DOCTYPE html>
<html lang="en" class="no-js">
	<head>
		<meta charset="UTF-8" />
		<meta name="viewport" content="width=device-width, initial-scale=1">
		<title></title>
		<meta name="description" content="A layout where one can switch between image grid previews." />
		<meta name="keywords" content="image grid, css grid, animation, parallax, layout, template" />
		<script>document.documentElement.className="js";var supportsCssVars=function(){var e,t=document.createElement("style");return t.innerHTML="root: { --tmp-var: bold; }",document.head.appendChild(t),e=!!(window.CSS&&window.CSS.supports&&window.CSS.supports("font-weight","var(--tmp-var)")),t.parentNode.removeChild(t),e};supportsCssVars()||alert("Please view this demo in a modern browser that supports CSS Variables.");</script>
	</head>
	<body class="loading">
		<svg class="hidden">
			<symbol id="icon-arrow" viewBox="0 0 24 24">
				<title>arrow</title>
				<polygon points="6.3,12.8 20.9,12.8 20.9,11.2 6.3,11.2 10.2,7.2 9,6 3.1,12 9,18 10.2,16.8 "/>
			</symbol>
		</svg>
		<main>
			<div class="frame">
				<h2 class="pageheader">logo</h2>
				<nav class="menutop">
					<a class="menutop__item">about</a>
					<a class="menutop__item">contact</a>
					<a class="menutop__item menutop__item--social">tw</a>
					<a class="menutop__item menutop__item--social">fb</a>
					<a class="menutop__item menutop__item--social">ig</a>
				</nav>
			</div>
			<nav class="menu">
				<div class="menu__item">
					<span class="menu__item-number">01</span>
					<span class="menu__item-textwrap"><span class="menu__item-text">Studio</span></span>
					<a class="menu__item-link">explore</a>
				</div>
				<div class="menu__item">
					<span class="menu__item-number">02</span>
					<span class="menu__item-textwrap"><span class="menu__item-text">Mixer</span></span>
					<a class="menu__item-link">explore</a>
				</div>
				<div class="menu__item">
					<span class="menu__item-number">03</span>
					<span class="menu__item-textwrap"><span class="menu__item-text">Objects</span></span>
					<a class="menu__item-link">explore</a>
				</div>
				<div class="menu__item">
					<span class="menu__item-number">04</span>
					<span class="menu__item-textwrap"><span class="menu__item-text">Delta</span></span>
					<a class="menu__item-link">explore</a>
				</div>
				<div class="menu__item">
					<span class="menu__item-number">05</span>
					<span class="menu__item-textwrap"><span class="menu__item-text">Express</span></span>
					<a class="menu__item-link">explore</a>
				</div>
			</nav>
			<div class="page page--preview">
				<div class="gridwrap">
					<div class="grid grid--layout-1">
						<div class="grid__item" style="background-image: url(img/1.jpg)"></div>
						<div class="grid__item" style="background-image: url(img/2.jpg)"></div>
						<div class="grid__item" style="background-image: url(img/3.jpg)"></div>
						<div class="grid__item" style="background-image: url(img/4.jpg)"></div>
						<div class="grid__item" style="background-image: url(img/5.jpg)"></div>
						<div class="grid__item" style="background-image: url(img/6.jpg)"></div>
						<div class="grid__item" style="background-image: url(img/7.jpg)"></div>
						<div class="grid__item" style="background-image: url(img/8.jpg)"></div>
						<div class="grid__item" style="background-image: url(img/9.jpg)"></div>
					</div>
					<div class="grid grid--layout-2">
						<div class="grid__item" style="background-image: url(img/10.jpg)"></div>
						<div class="grid__item" style="background-image: url(img/11.jpg)"></div>
						<div class="grid__item" style="background-image: url(img/12.jpg)"></div>
						<div class="grid__item" style="background-image: url(img/13.jpg)"></div>
						<div class="grid__item" style="background-image: url(img/14.jpg)"></div>
						<div class="grid__item" style="background-image: url(img/15.jpg)"></div>
						<div class="grid__item" style="background-image: url(img/16.jpg)"></div>
						<div class="grid__item" style="background-image: url(img/17.jpg)"></div>
					</div>
					<div class="grid grid--layout-3">
						<div class="grid__item" style="background-image: url(img/18.jpg)"></div>
						<div class="grid__item" style="background-image: url(img/19.jpg)"></div>
						<div class="grid__item" style="background-image: url(img/20.jpg)"></div>
						<div class="grid__item" style="background-image: url(img/21.jpg)"></div>
						<div class="grid__item" style="background-image: url(img/22.jpg)"></div>
						<div class="grid__item" style="background-image: url(img/23.jpg)"></div>
						<div class="grid__item" style="background-image: url(img/24.jpg)"></div>
						<div class="grid__item" style="background-image: url(img/42.jpg)"></div>
						<div class="grid__item" style="background-image: url(img/43.jpg)"></div>
					</div>
					<div class="grid grid--layout-4">
						<div class="grid__item" style="background-image: url(img/25.jpg)"></div>
						<div class="grid__item" style="background-image: url(img/26.jpg)"></div>
						<div class="grid__item" style="background-image: url(img/27.jpg)"></div>
						<div class="grid__item" style="background-image: url(img/28.jpg)"></div>
						<div class="grid__item" style="background-image: url(img/29.jpg)"></div>
						<div class="grid__item" style="background-image: url(img/30.jpg)"></div>
						<div class="grid__item" style="background-image: url(img/31.jpg)"></div>
						<div class="grid__item" style="background-image: url(img/32.jpg)"></div>
					</div>
					<div class="grid grid--layout-5">
						<div class="grid__item" style="background-image: url(img/33.jpg)"></div>
						<div class="grid__item" style="background-image: url(img/34.jpg)"></div>
						<div class="grid__item" style="background-image: url(img/35.jpg)"></div>
						<div class="grid__item" style="background-image: url(img/36.jpg)"></div>
						<div class="grid__item" style="background-image: url(img/37.jpg)"></div>
						<div class="grid__item" style="background-image: url(img/38.jpg)"></div>
						<div class="grid__item" style="background-image: url(img/39.jpg)"></div>
						<div class="grid__item" style="background-image: url(img/40.jpg)"></div>
						<div class="grid__item" style="background-image: url(img/41.jpg)"></div>
					</div>
					<button class="gridback"><svg class="icon icon--arrow"><use xlink:href="#icon-arrow"></use></svg></button>
				</div><!-- /gridwrap -->
				<div class="content">
					<div class="content__item">
						Emerged into consciousness tesseract invent the universe Cambrian explosion how far away from which we spring? Brain is the seed of intelligence white dwarf inconspicuous motes of rock and gas two ghostly white figures in coveralls and helmets are soflty dancing extraordinary claims require extraordinary evidence dispassionate extraterrestrial observer. Hundreds of thousands great turbulent clouds concept of the number one made in the interiors of collapsing stars the sky calls to us encyclopaedia galactica.
					</div>
					<div class="content__item">
						Billions upon billions cosmic ocean prime number descended from astronomers finite but unbounded Euclid? White dwarf hearts of the stars the carbon in our apple pies a very small stage in a vast cosmic arena brain is the seed of intelligence permanence of the stars? Vastness is bearable only through love concept of the number one Sea of Tranquility courage of our questions how far away a still more glorious dawn awaits.
					</div>
					<div class="content__item">
						At the edge of forever white dwarf a mote of dust suspended in a sunbeam citizens of distant epochs take root and flourish tesseract. Bits of moving fluff rings of Uranus across the centuries tendrils of gossamer clouds made in the interiors of collapsing stars muse about. A very small stage in a vast cosmic arena emerged into consciousness network of wormholes network of wormholes dispassionate extraterrestrial observer emerged into consciousness.
					</div>
					<div class="content__item">
						Explorations Apollonius of Perga Sea of Tranquility great turbulent clouds realm of the galaxies two ghostly white figures in coveralls and helmets are soflty dancing. Dispassionate extraterrestrial observer are creatures of the cosmos a mote of dust suspended in a sunbeam hundreds of thousands extraordinary claims require extraordinary evidence something incredible is waiting to be known. Citizens of distant epochs dispassionate extraterrestrial observer something incredible is waiting to be known of brilliant syntheses network of wormholes rich in heavy atoms.
					</div>
					<div class="content__item">
						Hundreds of thousands take root and flourish tingling of the spine consciousness ship of the imagination paroxysm of global death. Rich in mystery realm of the galaxies realm of the galaxies something incredible is waiting to be known hearts of the stars rich in mystery? Kindling the energy hidden in matter the carbon in our apple pies Cambrian explosion the sky calls to us encyclopaedia galactica citizens of distant epochs.
					</div>
				</div>
			</div><!-- /page -->
		</main>
	</body>
</html>



用户评论
大牛,别默默的看了,快登录帮我点评一下吧!:)      登录 | 注册


热门标签: 导航切换 二级导航菜单 缩略图 下拉导航菜单 图片相册 图片切换 竖直导航菜单 图片墙 文字切换 图标导航菜单 百叶窗 背景切换 固定导航菜单 图片网格 手风琴 侧边导航菜单 图片九宫格 选项卡自动切换 树形导航菜单 视频切换 网址导航菜单 图片高亮 列表切换 导航菜单插件 图片对比 图片文字 渐隐切换 文字导航菜单 单排图片 全屏切换 响应式图片 切换按钮 图片列表 缩放切换 滚动导航菜单 滑动导航菜单 图片拖动 浮动导航菜单 导航切换 右键菜单 收缩导航菜单 图片放大镜 图片叠加 图片翻转旋转 图片延迟加载 图片淡出淡进 图片全屏 html5动画导航菜单 图片头像上传 二维码 flash导航菜单 滚动切换 滑动选项卡切换 图片广告 图片放大缩小 html5图片动画 带缩略图的幻灯片 地图 图片滚动 图片滑动 图片切换 图片收缩展开 旋转木马 图片轮播 自动滚动图片轮播 图标导航菜单 选项卡切换 滑动手风琴 背景切换 手风琴 图表 导航菜单导航条 图片 头像截图

×
×
51前端

注册

×
绑定手机

请绑定手机号,在继续操作

×
单次下载支付

应付金额:279

支付完成后,回到下载页面,在进行下载

官方QQ群
意见反馈
qq群

扫描上面二维码加微信群

官方QQ群

jQuery/js讨论群
群号:642649996
Css3+Html5讨论群
群号:322131262

加群请备注:从官网了解到