html5 3D图片网格布局点击图片3D动画弹出大图文字信息



115 459 154



特效描述:html5 3D图片网格布局 点击图片 3D动画弹出大图文字,html5 3D图片网格布局点击图片

代码结构

1. 引入CSS

<link rel="stylesheet" type="text/css" href="css/normalize.css" />
<link rel="stylesheet" type="text/css" href="css/demo.css" />
<link rel="stylesheet" type="text/css" href="css/component.css" />

2. 引入JS

<script src="js/modernizr.custom.js"></script>
<script type="text/javascript" src="js/classie.js"></script>
<script type="text/javascript" src="js/helper.js"></script>
<script type="text/javascript" src="js/grid3d.js"></script>

3. HTML代码

<div class="container">
	<header class="codrops-header">
		<nav class="codrops-demos">
			<a class="current-demo" href="index.html">Vertical</a>
			<a href="index2.html">Horizontal</a>
		</nav>
	</header>
	<section class="grid3d vertical" id="grid3d">
		<div class="grid-wrap">
			<div class="grid">
				<figure><img src="img/1.jpg" alt="img01"/></figure>
				<figure><img src="img/5.jpg" alt="img05"/></figure>
				<figure><img src="img/8.jpg" alt="img08"/></figure>
				<figure><img src="img/2.jpg" alt="img02"/></figure>
				<figure><img src="img/4.jpg" alt="img04"/></figure>
				<figure><img src="img/3.jpg" alt="img03"/></figure>
				<figure><img src="img/9.jpg" alt="img09"/></figure>
				<figure><img src="img/6.jpg" alt="img06"/></figure>
				<figure><img src="img/7.jpg" alt="img07"/></figure>
			</div>
		</div><!-- /grid-wrap -->
		<div class="content">
			<div>
				<div class="dummy-img"></div>
				<p class="dummy-text">The only people for me are the mad ones, the ones who are mad to live, mad to talk, mad to be saved, desirous of everything at the same time, the ones who never yawn or say a commonplace thing, but burn, burn, burn like fabulous yellow roman candles exploding like spiders across the stars.</p>
				<p class="dummy-text">The only people for me are the mad ones, the ones who are mad to live, mad to talk, mad to be saved, desirous of everything at the same time, the ones who never yawn or say a commonplace thing, but burn, burn, burn like fabulous yellow roman candles exploding like spiders across the stars.</p>
			</div>
			<div>
				<div class="dummy-img"></div>
				<p class="dummy-text">The only people for me are the mad ones, the ones who are mad to live, mad to talk, mad to be saved, desirous of everything at the same time, the ones who never yawn or say a commonplace thing, but burn, burn, burn like fabulous yellow roman candles exploding like spiders across the stars.</p>
				<p class="dummy-text">The only people for me are the mad ones, the ones who are mad to live, mad to talk, mad to be saved, desirous of everything at the same time, the ones who never yawn or say a commonplace thing, but burn, burn, burn like fabulous yellow roman candles exploding like spiders across the stars.</p>
			</div>
			<div>
				<div class="dummy-img"></div>
				<p class="dummy-text">The only people for me are the mad ones, the ones who are mad to live, mad to talk, mad to be saved, desirous of everything at the same time, the ones who never yawn or say a commonplace thing, but burn, burn, burn like fabulous yellow roman candles exploding like spiders across the stars.</p>
				<p class="dummy-text">The only people for me are the mad ones, the ones who are mad to live, mad to talk, mad to be saved, desirous of everything at the same time, the ones who never yawn or say a commonplace thing, but burn, burn, burn like fabulous yellow roman candles exploding like spiders across the stars.</p>
			</div>
			<div>
				<div class="dummy-img"></div>
				<p class="dummy-text">The only people for me are the mad ones, the ones who are mad to live, mad to talk, mad to be saved, desirous of everything at the same time, the ones who never yawn or say a commonplace thing, but burn, burn, burn like fabulous yellow roman candles exploding like spiders across the stars.</p>
				<p class="dummy-text">The only people for me are the mad ones, the ones who are mad to live, mad to talk, mad to be saved, desirous of everything at the same time, the ones who never yawn or say a commonplace thing, but burn, burn, burn like fabulous yellow roman candles exploding like spiders across the stars.</p>
			</div>
			<div>
				<div class="dummy-img"></div>
				<p class="dummy-text">The only people for me are the mad ones, the ones who are mad to live, mad to talk, mad to be saved, desirous of everything at the same time, the ones who never yawn or say a commonplace thing, but burn, burn, burn like fabulous yellow roman candles exploding like spiders across the stars.</p>
				<p class="dummy-text">The only people for me are the mad ones, the ones who are mad to live, mad to talk, mad to be saved, desirous of everything at the same time, the ones who never yawn or say a commonplace thing, but burn, burn, burn like fabulous yellow roman candles exploding like spiders across the stars.</p>
			</div>
			<div>
				<div class="dummy-img"></div>
				<p class="dummy-text">The only people for me are the mad ones, the ones who are mad to live, mad to talk, mad to be saved, desirous of everything at the same time, the ones who never yawn or say a commonplace thing, but burn, burn, burn like fabulous yellow roman candles exploding like spiders across the stars.</p>
				<p class="dummy-text">The only people for me are the mad ones, the ones who are mad to live, mad to talk, mad to be saved, desirous of everything at the same time, the ones who never yawn or say a commonplace thing, but burn, burn, burn like fabulous yellow roman candles exploding like spiders across the stars.</p>
			</div>
			<div>
				<div class="dummy-img"></div>
				<p class="dummy-text">The only people for me are the mad ones, the ones who are mad to live, mad to talk, mad to be saved, desirous of everything at the same time, the ones who never yawn or say a commonplace thing, but burn, burn, burn like fabulous yellow roman candles exploding like spiders across the stars.</p>
				<p class="dummy-text">The only people for me are the mad ones, the ones who are mad to live, mad to talk, mad to be saved, desirous of everything at the same time, the ones who never yawn or say a commonplace thing, but burn, burn, burn like fabulous yellow roman candles exploding like spiders across the stars.</p>
			</div>
			<div>
				<div class="dummy-img"></div>
				<p class="dummy-text">The only people for me are the mad ones, the ones who are mad to live, mad to talk, mad to be saved, desirous of everything at the same time, the ones who never yawn or say a commonplace thing, but burn, burn, burn like fabulous yellow roman candles exploding like spiders across the stars.</p>
				<p class="dummy-text">The only people for me are the mad ones, the ones who are mad to live, mad to talk, mad to be saved, desirous of everything at the same time, the ones who never yawn or say a commonplace thing, but burn, burn, burn like fabulous yellow roman candles exploding like spiders across the stars.</p>
			</div>
			<div>
				<div class="dummy-img"></div>
				<p class="dummy-text">The only people for me are the mad ones, the ones who are mad to live, mad to talk, mad to be saved, desirous of everything at the same time, the ones who never yawn or say a commonplace thing, but burn, burn, burn like fabulous yellow roman candles exploding like spiders across the stars.</p>
				<p class="dummy-text">The only people for me are the mad ones, the ones who are mad to live, mad to talk, mad to be saved, desirous of everything at the same time, the ones who never yawn or say a commonplace thing, but burn, burn, burn like fabulous yellow roman candles exploding like spiders across the stars.</p>
			</div>
			<span class="loading"></span>
			<span class="icon close-content"></span>
		</div>
	</section>
</div><!-- /container -->
<script type="text/javascript">
new grid3D( document.getElementById( 'grid3d' ) );
</script>



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


热门标签: 文字叠加 顶部悬浮 底部悬浮 浮动导航菜单 右键菜单 图片叠加 图片翻转旋转 缩略图 图片广告 文字提示框 文字翻转旋转 图片相册 对联广告 提示框/弹出层 旋转木马 图片墙 layer 百叶窗 叠加浮动层 lightbox 图片网格 图片九宫格 Tooltip工具提示框 浮动提示框 图片高亮 html5弹窗动画 图片对比 图片文字 单排图片 响应式图片 图片列表 图片拖动 图片放大镜 图片叠加 图片翻转旋转 图片延迟加载 图片淡出淡进 图片全屏 图片头像上传 二维码 图片广告 图片放大缩小 html5图片动画 带缩略图的幻灯片 地图 图片滚动 图片滑动 图片切换 图片收缩展开 旋转木马 图片轮播 悬浮浮动漂浮 自动滚动图片轮播 图标导航菜单 弹出层拖动 叠加浮动层 背景切换 窗口提示框 手风琴 浮动提示框 重叠层叠叠加 转动旋转翻转 图表 图片 头像截图

×
×

注册

官方QQ群

扫描上面二维码加微信群

官方QQ群

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

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