蓝色有立体感的菜单,来自国外
蓝色有立体感的菜单,来自国外网站,用到了不少图片,分享给大家,视觉冲击力不错,希望大家喜欢。
答案:<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml2/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>蓝色有立体感的菜单</title>
<style type="text/css">
.pro14 {padding:5px 0 0 20px; margin:0; list-style:none; height:25px; background:#1841c8 url(/jscss/demoimg/200906/pro_14_back.gif) repeat-x bottom left;}
.pro14 li {float:left;}
.pro14 li a {display:block; float:left; height:25px; line-height:23px; background:url(/jscss/demoimg/200906/pro_14_0.gif); color:#aaa; text-decoration:none; font-family:arial, verdana, sans-serif; text-align:center; padding:0 0 0 8px; cursor:pointer; font-size:11px;}
.pro14 li a b {float:left; display:block; background:url(/jscss/demoimg/200906/pro_14_0.gif) right top; padding:0 16px 2px 8px;}
.pro14 li.current a {color:#cc8; background:url(/jscss/demoimg/200906/pro_14_2.gif);}
.pro14 li.current a b {background:url(/jscss/demoimg/200906/pro_14_2.gif) no-repeat right top;}
.pro14 li a:hover {color:#ff0; background: url(/jscss/demoimg/200906/pro_14_1.gif);}
.pro14 li a:hover b {background:url(/jscss/demoimg/200906/pro_14_1.gif) no-repeat right top;}
.pro14 li.current a:hover {color:#cc8; background: url(/jscss/demoimg/200906/pro_14_2.gif); cursor:default;}
.pro14 li.current a:hover b {background:url(/jscss/demoimg/200906/pro_14_2.gif) no-repeat right top;}
</style>
</head>
<body>
<ul class="pro14">
<li><a href="#"><b>Home</b></a></li>
<li><a href="#"><b>Codes</b></a></li>
<li><a href="#"><b>Products</b></a></li>
<li class="current"><a href="#"><b>Contact us</b></a></li>
<li><a href="#"><b>Search</b></a></li>
</ul>
</body>
</html>
上一个:滑出浮动层的CSS大块导航菜单
下一个:JS+CSS打造另类带提示的竖向导航菜单