css问题,这块导航菜单应该怎么做 ?求思路,有具体代码最好
我不是很懂你的意思呢
你发的图片是很么意思,能看到图片内部的代码吗?
2023-05-10 广告
<nav id="nav-y">
<strong>用户手册</strong>
<ul>
<li><a href="####">概览</a></li>
<li><a href="####">共享与打印</a></li>
<li><a href="####">主屏幕</a></li>
<li><a href="####">文件夹</a></li>
<li><a href="####">备份与恢复</a></li>
</ul>
</nav>
body{margin: 20px;}
a{text-decoration: none;}
ul, ol, li{
list-style:none outside none;
margin: 0;
padding: 0;
}
#nav-y , #nav-y a{
font-family: "微软雅黑";
color: #fff;
}
#nav-y{
width: 300px;
background: url(../img/navbg.gif);
border-radius: 20px;
font-size: 16px;
}
#nav-y strong{
width: 275px;
font-size: 18px;
margin: 0;
padding: 0;
line-height: 50px;
}
#nav-y a{
line-height: 46px;
display: block;
width: 275px;
}
#nav-y li{background: url(../img/arr.gif) no-repeat 270px 20px;}
#nav-y a:hover{background: url(../img/navhover.gif);border-top: none;line-height: 47px;}
#nav-y strong , #nav-y a{padding-left: 25px;}
#nav-y h1 , #nav-y a{border-bottom: 1px #000 solid;}
#nav-y a{border-top: 1px #323232 solid;}
#nav-y li:last-child a{border-bottom: none;}
#nav-y li:last-child a:hover{border-radius: 0 0 20px 20px;line-height: 47px;}