亚洲国产日韩欧美在线a乱码,国产精品路线1路线2路线,亚洲视频一区,精品国产自,www狠狠,国产情侣激情在线视频免费看,亚洲成年网站在线观看

純css實(shí)現(xiàn)藍(lán)色圓角效果水平導(dǎo)航菜單代碼

時(shí)間:2025-10-14 14:17:46 網(wǎng)頁(yè)設(shè)計(jì)

純css實(shí)現(xiàn)藍(lán)色圓角效果水平導(dǎo)航菜單代碼

  這是一款可愛(ài)的藍(lán)色圓角水平導(dǎo)航菜單,用到幾張背景圖片,我覺(jué)得這款菜單挺實(shí)用,特別是用在個(gè)人博客中非常合適。在兼容性方面做的也很好,幾乎兼容所有的瀏覽器。

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

  代碼如下:

  <!DOCTYPE html PUBLIC "-/pic/pic/pic/p>

  "/pic/TR/xhtml1/DTD/xhtml1-transitional.dtd">

  <html xmlns="/pic/1999/xhtml">

  <head>

  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

  <title>藍(lán)色圓角水平導(dǎo)航菜單</title>

  <style>

  *{

  margin:0;

  padding:0;

  }

  body{

  background:#fff;

  color:#666;

  font:12px/18px Tahoma, Arial, Helvetica, sans-serif;

  }

  #menu{

  width:100%;

  margin:15px;

  }

  #menu ul{

  list-style:none;

  }

  #menu li{

  list-style:none;

  display:block;

  float:left;

  margin:0 2px;

  }

  #menu li a{

  display:block;

  float:left;

  height:66px;

  color:#fff;

  text-transform:uppercase;

  font-size:11px;

  font-weight:bold;

  background:url(images/menu_009_l.jpg) no-repeat left;

  line-height:66px;

  padding:0 0 0 9px;

  text-decoration:none;

  }

  #menu li a span{

  display:block;

  float:left;

  background:url(images/menu_009_r.jpg) no-repeat right;

  height:66px;

  color:#d2eeff;

  line-height:66px;

  padding:0 18px 0 8px;

  }

  #menu li a:hover{

  display:block;

  float:left;

  background:url(images/menu_009_h_l.jpg) no-repeat left;

  height:66px;

  }

  #menu li a:hover span{

  display:block;

  float:left;

  background:url(images/menu_009_h_r.jpg) no-repeat right;

  color:#fff;

  height:66px;

  }

  #menu li a.current{

  display:block;

  float:left;

  height:66px;

  color:#fff;

  text-transform:uppercase;

  font-size:11px;

  font-weight:bold;

  background:url(images/menu_009_h_l.jpg) no-repeat left;

  line-height:66px;

  padding:0 0 0 9px;

  text-decoration:none;

  }

  #menu li a.current span{

  display:block;

  float:left;

  background:url(images/menu_009_h_r.jpg) no-repeat right;

  height:66px;

  color:#fff;

  line-height:66px;

  padding:0 18px 0 8px;

  }

  

【純css實(shí)現(xiàn)藍(lán)色圓角效果水平導(dǎo)航菜單代碼】相關(guān)文章:

CSS實(shí)現(xiàn)自適應(yīng)寬度的菜單按鈕效果代碼08-23

CSS實(shí)現(xiàn)的中英文雙語(yǔ)菜單效果代碼02-19

CSS如何實(shí)現(xiàn)中英文雙語(yǔ)菜單效果代碼11-18

DIV+CSS實(shí)現(xiàn)的綠色水平一級(jí)菜單代碼11-23

基于css3的屬性transition制作菜單導(dǎo)航效果01-07

用于團(tuán)購(gòu)網(wǎng)站的橙色導(dǎo)航菜單代碼12-01

css就能實(shí)現(xiàn)簡(jiǎn)單導(dǎo)航欄實(shí)例03-16

純CSS如何實(shí)現(xiàn)動(dòng)畫(huà)的天氣圖標(biāo)12-20

css實(shí)現(xiàn)的tab切換效果實(shí)例02-26