利用css3实现全屏手风琴



8 29 10



特效描述:利用css3实现 全屏 手风琴,利用css3实现全屏手风琴

代码结构

1. 引入CSS

<link rel="stylesheet" href="css/aaAccordion.css" media="screen">

2. 引入JS

<script src="js/jquery.js"></script>
<script src="js/aaAccordion.class.js"></script>

3. HTML代码

<!-- aaAccordion -->
<div class="aaAccordion" id="firstAcc">
	<div class="content">
		<ul>
			<li>
				<a href="#" class="full-img"><img src="images/1.jpg" alt="img title" /></a>
				<div class="caption">
					<h1>Brunette girl & hair flower</h1>
					<p>Vestibulum sagittis nunc ac urna aliquam viverra. Pellentesque sem quam, bibendum id dapibus non, ornare quis mi. Ut leo odio, vehicula ac mattis id, dignissim vel dui. </p>			
					<a href="#" class="go-btn">go button</a>
				</div>
			</li>
			<li>
				<a href="#" class="full-img"><img src="images/2.jpg" alt="img title" /></a>
				<div class="caption">
					<h1>Lost princess of the castle</h1>
					<p>Integer libero sem, vestibulum non mollis sed, convallis vitae nunc..</p>				
					<a href="#" class="go-btn">go button</a>
				</div>
			</li>
			<li>
				<a href="#" class="full-img"><img src="images/6.jpg" alt="img title" /></a>
				<div class="caption">
					<h1>Peacock green lady</h1>
					<p>tiam condimentum suscipit nulla, ut egestas nisl tempor eu. Etiam vel diam urna, in venenatis justo. Cras euismod fermentum adipiscing. </p>	
					<a href="#" class="go-btn">go button</a>
				</div>
			</li>
			<li>
				<a href="#" class="full-img"><img src="images/4.jpg" alt="img title" /></a>
				<div class="caption">
					<h1>Peachy & sensual</h1>
					<p>Suspendisse tincidunt est ac risus tempus ut consectetur metus molestie. Curabitur purus est, lobortis in pulvinar non, molestie vitae turpis.</p>	
					<a href="#" class="go-btn">go button</a>
				</div>
			</li>
			<li>
				<a href="#" class="full-img"><img src="images/5.jpg" alt="img title" /></a>
				<div class="caption">
					<h1>Purple & pink!</h1>
					<p>Rullam in orci sed dolor aliquam semper vel in arcu. Donec tempor porttitor arcu, non lacinia tellus luctus eu. </p>
					<a href="#" class="go-btn">go button</a>
				</div>
			</li>
		</ul>
	</div>
</div>
<div class="deco">
	<div class="decoL"></div>
	<div class="decoF"></div>
</div>
<div style="text-align:center;clear:both">
</div>



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


热门标签: 滚动切换 滚动条切换 滑动选项卡 滑动切换 选项卡切换 选项卡 切换 tab切换 页面切换 选项卡插件 切换插件 滑动手风琴 手风琴 水平手风琴 垂直手风琴 图片手风琴 文字手风琴 手风琴插件

×
×

注册

官方QQ群

扫描上面二维码加微信群

官方QQ群

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

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