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



105 418 140



特效描述: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>



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


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

×
×

注册

官方QQ群

扫描上面二维码加微信群

官方QQ群

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

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