基于CSS3实现淡入淡出Tab菜单代码



44 174 59



特效描述:基于CSS3实现 淡入淡出 Tab菜单,基于CSS3实现淡入淡出Tab菜单代码

代码结构

1. 引入CSS

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

2. HTML代码

  <article class="tabs">
		<input checked id="one" name="tabs" type="radio">
	    <label for="one">Tab One</label>
	    <input id="two" name="tabs" type="radio" value="Two">
	    <label for="two">Tab Two</label>
	    <input id="three" name="tabs" type="radio">
	    <label for="three">Tab Three</label>
	    <input id="four" name="tabs" type="radio">
	    <label for="four">Tab Four</label>
	    <div class="panels">
		    <div class="panel">
		    	<h2>This is Panel One</h2>
		    	<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Mauris vel leo sem. Sed nec quam sit amet lorem volutpat ullamcorper ut sed massa. Sed vel felis velit. Nullam et turpis sed dui auctor vehicula quis a dui.</p>
		    	<p>Aliquam vitae leo et sapien volutpat accumsan quis eget turpis. Etiam ac metus vitae purus semper pretium. Curabitur id nisl nisl. Cras ut massa sed dolor ullamcorper consequat ut sed dolor.</p>
		    	<p>Nam sodales, mi eu convallis adipiscing, ligula justo consectetur tellus, tincidunt vestibulum tortor elit a augue. Ut elementum ultricies orci, vel luctus neque varius in. Phasellus turpis nunc, eleifend ac fringilla at, malesuada in eros.</p>
		    </div>
		    <div class="panel">
		    	<h2>This is Panel Two</h2>
		    	<p>Aliquam vitae leo et sapien volutpat accumsan quis eget turpis. Etiam ac metus vitae purus semper pretium. Curabitur id nisl nisl. Cras ut massa sed dolor ullamcorper consequat ut sed dolor.</p>
		    	<p>Nam sodales, mi eu convallis adipiscing, ligula justo consectetur tellus, tincidunt vestibulum tortor elit a augue. Ut elementum ultricies orci, vel luctus neque varius in. Phasellus turpis nunc, eleifend ac fringilla at, malesuada in eros.</p>
		    </div>
		    <div class="panel">
		    	<h2>This is Panel Three</h2>
		    	<p>Nam sodales, mi eu convallis adipiscing, ligula justo consectetur tellus, tincidunt vestibulum tortor elit a augue. Ut elementum ultricies orci, vel luctus neque varius in. Phasellus turpis nunc, eleifend ac fringilla at, malesuada in eros.</p>
		    	<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Mauris vel leo sem. Sed nec quam sit amet lorem volutpat ullamcorper ut sed massa. Sed vel felis velit. Nullam et turpis sed dui auctor vehicula quis a dui.</p>
		    	<p>Aliquam vitae leo et sapien volutpat accumsan quis eget turpis. Etiam ac metus vitae purus semper pretium. Curabitur id nisl nisl. Cras ut massa sed dolor ullamcorper consequat ut sed dolor.</p>
		    </div>
		    <div class="panel">
		    	<h2>This is Panel Four</h2>
		    	<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Mauris vel leo sem. Sed nec quam sit amet lorem volutpat ullamcorper ut sed massa. Sed vel felis velit. Nullam et turpis sed dui auctor vehicula quis a dui.</p>
		    	<p>Aliquam vitae leo et sapien volutpat accumsan quis eget turpis. Etiam ac metus vitae purus semper pretium. Curabitur id nisl nisl. Cras ut massa sed dolor ullamcorper consequat ut sed dolor.</p>
		    </div>
		</div>
    </article>
<div align="center" style="clear:both;font-size:12px;color:#666;"><br><br>
<div style="text-align:center;margin:50px 0; font:normal 14px/24px 'MicroSoft YaHei';">
</div>



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


热门标签: flash导航菜单 flash导航条 flash导航 flash菜单 flash下拉菜单 flash下拉导航菜单 浮动菜单 浮动导航 右键菜单 滑动导航菜单 滑动导航 滑动菜单 滚动导航菜单 滚动菜单 滚动导航 收缩菜单 收缩导航 h5动画导航 h5动画菜单 html5动画导航 html5动画菜单 导航切换 菜单切换 滚动切换 滚动条切换 滑动选项卡 滑动切换 滑动手风琴 选项卡切换 选项卡 切换 tab切换 页面切换 选项卡插件 切换插件 渐隐切换 淡出淡进 淡出 淡进 导航菜单 导航条 菜单栏 导航栏 分类导航 响应式导航条 响应式导航 文字淡出淡进 文字淡出 文字淡进 文字切换 文字选项卡 固定导航 固定菜单

×
×

注册

官方QQ群

扫描上面二维码加微信群

官方QQ群

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

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