基于CSS3實現淡入淡出Tab菜單代碼



50 198 67



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

加群請備注:從官網了解到

老夫子电子