最新文章专题视频专题问答1问答10问答100问答1000问答2000关键字专题1关键字专题50关键字专题500关键字专题1500TAG最新视频文章推荐1 推荐3 推荐5 推荐7 推荐9 推荐11 推荐13 推荐15 推荐17 推荐19 推荐21 推荐23 推荐25 推荐27 推荐29 推荐31 推荐33 推荐35 推荐37视频文章20视频文章30视频文章40视频文章50视频文章60 视频文章70视频文章80视频文章90视频文章100视频文章120视频文章140 视频2关键字专题关键字专题tag2tag3文章专题文章专题2文章索引1文章索引2文章索引3文章索引4文章索引5123456789101112131415文章专题3
当前位置: 首页 - 科技 - 知识百科 - 正文

CSS仿迅雷看看蓝色导航的方法

来源:动视网 责编:小采 时间:2020-11-27 18:52:45
文档

CSS仿迅雷看看蓝色导航的方法

CSS仿迅雷看看蓝色导航的方法:先看看CSS绘制的经典蓝色导航效果:用到的素材:代码:<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=gb2312" /> <title>最新迅雷看
推荐度:
导读CSS仿迅雷看看蓝色导航的方法:先看看CSS绘制的经典蓝色导航效果:用到的素材:代码:<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=gb2312" /> <title>最新迅雷看
 先看看CSS绘制的经典蓝色导航效果:

用到的素材:

代码:

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>最新迅雷看看导航</title>
<style type="text/css">
body { margin:0px; font-size:13px; font-family:Verdana, Arial, Helvetica, sans-serif } 
#nav { position:relative; width:964px; height:95px; z-index:1px; margin:10px auto; background:url(kkindex_nav.png) } 
#navli { position:absolute; width:580px; height:32px; left:35px; top:-2px; } 
ul { margin:0; } 
.dh li { width:72px; height:30px; float:left; position:relative; line-height:30px; zoom:1; list-style:none; text-align:center; background:url(kkindex_nav.png) no-repeat; background-position:-125px -99px } 
.dh li a { color:#000000; text-decoration:none } 
.dh li a:hover { zoom:1; color:#ffffff; text-decoration:none; font-weight:bold; background:url(kkindex_nav.png) no-repeat 0 -95px; width:72px; height:30px; } 
.dhhome { background:url(kkindex_nav.png) no-repeat 0 -95px; width:72px; height:30px; zoom:1; color:#ffffff !important; font-weight:bold } 
.dhright { position:absolute; width:280px; height:31px; left:680px; top:-2px; text-align:center; line-height:30px; } 
.dhrightimg { position:absolute; right:-4px; top:10px; background:url(kkindex_nav.png) no-repeat; background-position:-954px -115px; padding-right:15px; width:10px; height:10px; } 
</style>
</head>
<body>
<p id="nav">
 <p id="navli">
 <ul class="dh">
 <li><a href="#" class="dhhome">首页</a></li>
 <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>
 <li><a href="#">娱乐</a></li>
 <li><a href="#">排行榜</a></li>
 </ul>
 </p>
 <p class="dhright"> 大片 - 首播 - 新片 - 客服论坛 - 更多 
 <p class="dhrightimg"></p>
 </p>
</p>

<p style="width:550px;margin:20px auto;">
</p>

</body>
</html>

文档

CSS仿迅雷看看蓝色导航的方法

CSS仿迅雷看看蓝色导航的方法:先看看CSS绘制的经典蓝色导航效果:用到的素材:代码:<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=gb2312" /> <title>最新迅雷看
推荐度:
标签: 迅雷 导航 看看
  • 热门焦点

最新推荐

猜你喜欢

热门推荐

专题
Top