欧美bbbwbbbw肥妇,免费乱码人妻系列日韩,一级黄片

純CSS實(shí)現(xiàn)的紫羅蘭風(fēng)格導(dǎo)航條效果代碼

  發(fā)布時(shí)間:2015-10-08 16:22:11   作者:佚名   我要評論
這篇文章主要為大家介紹了純CSS實(shí)現(xiàn)的紫羅蘭風(fēng)格導(dǎo)航條效果代碼,通過簡單的css樣式控制實(shí)現(xiàn)響應(yīng)鼠標(biāo)滑過動(dòng)態(tài)改變背景圖的經(jīng)典導(dǎo)航效果,非常簡單實(shí)用,需要的朋友可以參考下

本文實(shí)例講述了純CSS實(shí)現(xiàn)的紫羅蘭風(fēng)格導(dǎo)航條效果。分享給大家供大家參考。具體如下:

這是一款紫羅蘭風(fēng)格CSS導(dǎo)航條,相信你會(huì)喜歡,不信就點(diǎn)運(yùn)行看一下吧,很經(jīng)典的CSS菜單。

運(yùn)行效果截圖如下:

在線演示地址如下:

http://demo.jb51.net/js/2015/css-zll-style-nav-codes/

具體代碼如下:

復(fù)制代碼
代碼如下:
<title>CSS導(dǎo)航條</title>
<style type="text/css">
body {margin:0;padding:0;font: bold 11px/1.5em Arial;}
img {border: none;}
#roScripts_m1 {float:left;width:100%;background:#F6ECFD;
font-size:96%;line-height:1.5;border-bottom:3px solid #CD86F5;}
#roScripts_m1 ul {margin:0;padding:100px 10px 0 25%;list-style:none;}
#roScripts_m1 li {display:inline;margin:0;padding:0;}
#roScripts_m1 a {float:left;background:url(images/left3.gif) no-repeat left top;
margin:0;padding:0 0 0 4px;text-decoration:none;}
#roScripts_m1 a span {float:left;display:block;background:url(images/right3.gif)
no-repeat right top;padding:5px 25px 4px 25px;color:#fff;}
#roScripts_m1 a span {float:none;}
#roScripts_m1 a:hover span {color:#591333;}
#roScripts_m1 a:hover {background-position:0% -42px;}
#roScripts_m1 a:hover span {background-position:100% -42px;}
#roScripts_m1 #current a {background-position:0% -42px;}
#roScripts_m1 #current a span {background-position:100% -42px;color:#591333}
.clear {clear:left}
</style>
<div id="roScripts_m1">
<ul>
<li><a href="#"><span>網(wǎng)站首頁</span></a></li>
<li><a href="#"><span>網(wǎng)頁特效</span></a></li>
<li id="current"><a href="#"><span>最新更新</span></a></li>
<li><a href="#"><span>留言板</span></a></li>
<li><a href="#"><span>廣告聯(lián)系</span></a></li>
</ul>
<div class="clear"></div>
</div>

希望本文所述對大家的CSS網(wǎng)頁設(shè)計(jì)有所幫助。

相關(guān)文章

最新評論