CSS3图片弹出展示类似灯箱动画相册幻灯片



74 293 98



特效描述:CSS3图片弹出 类似灯箱动画 相册幻灯片,CSS3灯箱

代码结构

1. 引入CSS

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

2. HTML代码

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>CSS3 Lightbox</title>
<!--必要样式-->
</head>
<body id="page">
<div class="container">
	<p class="codrops-demos">
		<a class="current-demo" href="index.html">Demo 1</a>
		<a href="index2.html">Demo 2</a>
		<a href="index3.html">Demo 3</a>
	</p>
	<section>
		<ul class="lb-album">
			<li>
				<a href="#image-1">
					<img src="images/thumbs/1.jpg" alt="image01">
					<span>Pointe</span>
				</a>
				<div class="lb-overlay" id="image-1">
					<a href="#page" class="lb-close">x Close</a>
					<img src="images/full/1.jpg" alt="image01" />
					<div>
						<h3>pointe <span>/point/</h3>
						<p>Dance performed on the tips of the toes</p>
					</div>
				</div>
			</li>
			<li>
				<a href="#image-2">
					<img src="images/thumbs/2.jpg" alt="image02">
					<span>Port de bras</span>
				</a>
				<div class="lb-overlay" id="image-2">
					<img src="images/full/2.jpg" alt="image02" />
					<div>							
						<h3>port de bras <span>/ˌpôr də ˈbrä/</h3>
						<p>An exercise designed to develop graceful movement and disposition of the arms</p>
					</div>
					<a href="#page" class="lb-close">x Close</a>
				</div>
			</li>
			<li>
				<a href="#image-3">
					<img src="images/thumbs/3.jpg" alt="image03">
					<span>Plié</span>
				</a>
				<div class="lb-overlay" id="image-3">
					<img src="images/full/3.jpg" alt="image03" />
					<div>							
						<h3>pli·é <span>/plēˈā/</h3>
						<p>A movement in which a dancer bends the knees and straightens them again</p>
					</div>
					<a href="#page" class="lb-close">x Close</a>
				</div>
			</li>
			<li>
				<a href="#image-4">
					<img src="images/thumbs/4.jpg" alt="image04">
					<span>Adagio</span>
				</a>
				<div class="lb-overlay" id="image-4">
					<img src="images/full/4.jpg" alt="image04" />
					<div>							
						<h3>a·da·gio <span>/əˈdäjō/</h3>
						<p>A movement or composition marked to be played adagio</p>
					</div>
					<a href="#page" class="lb-close">x Close</a>
				</div>
			</li>
			<li>
				<a href="#image-5">
					<img src="images/thumbs/5.jpg" alt="image05">
					<span>Frappé</span>
				</a>
				<div class="lb-overlay" id="image-5">
					<img src="images/full/5.jpg" alt="image05" />
					<div>							
						<h3>frap·pé<span>/fraˈpā/</h3>
						<p>Involving a beating action of the toe of one foot against the ankle of the supporting leg</p>
					</div>
					<a href="#page" class="lb-close">x Close</a>
				</div>
			</li>
			<li>
				<a href="#image-6">
					<img src="images/thumbs/6.jpg" alt="image06">
					<span>Glissade</span>
				</a>
				<div class="lb-overlay" id="image-6">
					<img src="images/full/6.jpg" alt="image06" />
					<div>							
						<h3>glis·sade <span>/gliˈsäd/</h3>
						<p>One leg is brushed outward from the body, which then takes the weight while the second leg is brushed in to meet it</p>
					</div>
					<a href="#page" class="lb-close">x Close</a>
				</div>
			</li>
			<li>
				<a href="#image-7">
					<img src="images/thumbs/7.jpg" alt="image07">
					<span>Jeté</span>
				</a>
				<div class="lb-overlay" id="image-7">
					<img src="images/full/7.jpg" alt="image07" />
					<div>							
						<h3>je·té <span>/zhə-ˈtā/</h3>
						<p>A springing jump made from one foot to the other in any direction</p>
					</div>
					<a href="#page" class="lb-close">x Close</a>
				</div>
			</li>
			<li>
				<a href="#image-8">
					<img src="images/thumbs/8.jpg" alt="image08">
					<span>Piqué</span>
				</a>
				<div class="lb-overlay" id="image-8">
					<img src="images/full/8.jpg" alt="image08" />
					<div>							
						<h3>pi·qué <span>/pēˈkā/</h3>
						<p>Strongly pointed toe of the lifted and extended leg sharply lowers to hit the floor then immediately rebounds upward</p>
					</div>
					<a href="#page" class="lb-close">x Close</a>
				</div>
			</li>
			<li>
				<a href="#image-9">
					<img src="images/thumbs/9.jpg" alt="image09">
					<span>Arabesque</span>
				</a>
				<div class="lb-overlay" id="image-9">
					<img src="images/full/9.jpg" alt="image09" />
					<div>							
						<h3>ar·a·besque <span>/ˌarəˈbesk/</h3>
						<p>Position of the body supported on one leg, with the other leg extended behind the body with the knee straight</p>
					</div>
					<a href="#page" class="lb-close">x Close</a>
				</div>
			</li>
			<li>
				<a href="#image-10">
					<img src="images/thumbs/10.jpg" alt="image10">
					<span>Ballerina</span>
				</a>
				<div class="lb-overlay" id="image-10">
					<img src="images/full/10.jpg" alt="image10" />
					<div>							
						<h3>bal·le·ri·na <span>/ˌbaləˈrēnə/</h3>
						<p>A female ballet dancer</p>
					</div>
					<a href="#page" class="lb-close">x Close</a>
				</div>
			</li>
		</ul>
	</section>
</div>
</body>
</html>



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


热门标签: 图片翻转 图片旋转 图片淡出淡进 图片淡出 图片淡进 图片拖动 图片拖拽 图片延迟加载 图片延迟 图片加载 头像上传 图片上传 图片放大镜 二维码 图片叠加 图片层叠 图片全屏 图片放大缩小 图片缩放 图片大小 图片放大 图片缩小 图片变大 图片变小 图片广告 h5图片动画 h5图标动画 html5图片动画 html5图标动画 带缩略图的幻灯片 地图 中国地图 世界地图 滑动 滑块 滑动门 触屏滑动 滑动插件 滑块插件 旋转木马 图片旋转木马 文字旋转木马 旋转木马插件 纯图片轮播 图片轮播 图片收缩展开 图片收缩 图片展开 图片切换 图片选项卡 图标选项卡 图片滑动 图片滑块 图片滚动 图片滚动条 叠加浮动层 弹出层拖动 浮动 悬浮 悬浮层 悬浮框 浮动层 浮动框 浮动插件 悬浮插件 图标导航 图标菜单 自动滚动图片轮播 背景切换 大图切换 窗口 弹出 弹窗 弹出层 提示框 对话框 遮罩 遮罩层 弹窗插件 手风琴 水平手风琴 垂直手风琴 图片手风琴 文字手风琴 手风琴插件 浮动提示框 层叠叠加 叠加层叠 层叠 叠加 加载更多 图表 图片 图片插件 头像截图 图片叠加 图片层叠 图片广告 图片相册 相册图片 图片滑动 图片滑块 lightbox 图片网格

×
×

注册

官方QQ群

扫描上面二维码加微信群

官方QQ群

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

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