站长资源网页制作

纯CSS仿迅雷看看蓝色导航

整理:jimmy2025/1/15浏览2
简介先看看CSS绘制的经典蓝色导航效果:用到的素材:代码:XML/HTML Code复制内容到剪贴板 最新迅雷看看导</div> <div class="news_infos"><div id="MyContent"><p>先看看CSS绘制的经典蓝色导航效果:</p> <p><a href="javascript:;" onclick="showimg('/UploadFiles/2021-03-30/2016623142025853.jpg?2016523142038');"><img src="/UploadFiles/2021-03-30/2016623142025853.jpg?2016523142038" alt="纯CSS仿迅雷看看蓝色导航" onmousewheel="return bbimg(this)" onload="javascript:resizepic(this)" border="0"/></a></p> <p>用到的素材:</p> <p><a href="javascript:;" onclick="showimg('/UploadFiles/2021-03-30/2016623142124534.jpg?2016523142134');"><img src="/UploadFiles/2021-03-30/2016623142124534.jpg?2016523142134" alt="纯CSS仿迅雷看看蓝色导航" onmousewheel="return bbimg(this)" onload="javascript:resizepic(this)" border="0"/></a></p> <p>代码:</p> XML/HTML Code复制内容到剪贴板 <ol class="dp-xml"> <li><html>  </li> <li><head>  </li> <li><meta http-equiv="Content-Type" content="text/html; charset=gb2312" />  </li> <li><title>最新迅雷看看导航</title>  </li> <li><style type="text/css">  </li> <li>body { margin:0px; font-size:13px; font-family:Verdana, Arial, Helvetica, sans-serif }   </li> <li>#nav { position:relative; width:964px; height:95px; z-index:1px; margin:10px auto; background:url(kkindex_nav.png) }   </li> <li>#navli { position:absolute; width:580px; height:32px; left:35px; top:-2px; }   </li> <li>ul { margin:0; }   </li> <li>.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 }   </li> <li>.dh li a { color:#000000; text-decoration:none }   </li> <li>.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; }   </li> <li>.dhhome { background:url(kkindex_nav.png) no-repeat 0 -95px; width:72px; height:30px; zoom:1; color:#ffffff !important; font-weight:bold }   </li> <li>.dhright { position:absolute; width:280px; height:31px; left:680px; top:-2px; text-align:center; line-height:30px; }   </li> <li>.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; }   </li> <li></style>  </li> <li></head>  </li> <li><body>  </li> <li><div id="nav">  </li> <li>  <div id="navli">  </li> <li>    <ul class="dh">  </li> <li>      <li><a href="#" class="dhhome">首页</a></li>  </li> <li>      <li><a href="#">电影</a></li>  </li> <li>      <li><a href="#">电视剧</a></li>  </li> <li>      <li><a href="#">综艺</a></li>  </li> <li>      <li><a href="#">动漫</a></li>  </li> <li>      <li><a href="#">漫画</a></li>  </li> <li>      <li><a href="#">娱乐</a></li>  </li> <li>      <li><a href="#">排行榜</a></li>  </li> <li>    </ul>  </li> <li>  </div>  </li> <li>  <div class="dhright"> 大片 - 首播 - 新片 - 客服论坛 - 更多   </li> <li>    <div class="dhrightimg"></div>  </li> <li>  </div>  </li> <li></div>  </li> <li>  </li> <li><div style="width:550px;margin:20px auto;">  </li> <li></div>  </li> <li>  </li> <li></body>  </li> <li></html>  </li> </ol> <p>以上就是本文的全部内容,希望对大家的学习有所帮助,也希望大家多多支持。</p></div> </div> </div> <div class="share"> </div> <div class="nextinfo"> <p>上一篇:<a href="http://m.wwsws.com/show/1/71505.html" title="全面了解css行高line-height的用法">全面了解css行高line-height的用法</a></p> <p>下一篇:<a href="http://m.wwsws.com/show/1/71507.html" title="CSS3制作彩色进度条样式的代码示例分享">CSS3制作彩色进度条样式的代码示例分享</a></p> </div> <div class="otherlink"> <h2>最新资源</h2> <ul> <li> <i class="iconfont icon-point"></i> <a class="text-sm" href="/show/1/623322.html" one-link-mark="yes" title="群星《奔赴!万人现场 第2期》[FLAC/分轨][518.87MB]"><span>群星《奔赴!万人现场 第2期》[FLAC/分轨][518.8</span></a> </li> <li> <i class="iconfont icon-point"></i> <a class="text-sm" href="/show/1/623321.html" one-link-mark="yes" title="群星《奇妙浪一夏 (上海迪士尼度假区音乐)》[320K/MP3][43.91MB]"><span>群星《奇妙浪一夏 (上海迪士尼度假区音乐)》[32</span></a> </li> <li> <i class="iconfont icon-point"></i> <a class="text-sm" href="/show/1/623320.html" one-link-mark="yes" title="群星《奇妙浪一夏 (上海迪士尼度假区音乐)》[FLAC/分轨][140.49MB]"><span>群星《奇妙浪一夏 (上海迪士尼度假区音乐)》[FL</span></a> </li> <li> <i class="iconfont icon-point"></i> <a class="text-sm" href="/show/1/623319.html" one-link-mark="yes" title="【古典音乐】詹姆斯·高威《季节》1993[WAV+CUE]"><span>【古典音乐】詹姆斯·高威《季节》1993[WAV+CUE]</span></a> </li> <li> <i class="iconfont icon-point"></i> <a class="text-sm" href="/show/1/623318.html" one-link-mark="yes" title="贝拉芳蒂《卡里普索之王》SACD[WAV+CUE]"><span>贝拉芳蒂《卡里普索之王》SACD[WAV+CUE]</span></a> </li> <li> <i class="iconfont icon-point"></i> <a class="text-sm" href="/show/1/623317.html" one-link-mark="yes" title="小骆驼-《草原狼2(蓝光CD)》[原抓WAV+CUE]"><span>小骆驼-《草原狼2(蓝光CD)》[原抓WAV+CUE]</span></a> </li> <li> <i class="iconfont icon-point"></i> <a class="text-sm" href="/show/1/623316.html" one-link-mark="yes" title="群星《欢迎来到我身边 电影原声专辑》[320K/MP3][105.02MB]"><span>群星《欢迎来到我身边 电影原声专辑》[320K/MP3</span></a> </li> <li> <i class="iconfont icon-point"></i> <a class="text-sm" href="/show/1/623315.html" one-link-mark="yes" title="群星《欢迎来到我身边 电影原声专辑》[FLAC/分轨][480.9MB]"><span>群星《欢迎来到我身边 电影原声专辑》[FLAC/分轨</span></a> </li> <li> <i class="iconfont icon-point"></i> <a class="text-sm" href="/show/1/623314.html" one-link-mark="yes" title="雷婷《梦里蓝天HQⅡ》 2023头版限量编号低速原抓[WAV+CUE][463M]"><span>雷婷《梦里蓝天HQⅡ》 2023头版限量编号低速原抓</span></a> </li> <li> <i class="iconfont icon-point"></i> <a class="text-sm" href="/show/1/623313.html" one-link-mark="yes" title="群星《2024好听新歌42》AI调整音效【WAV分轨】"><span>群星《2024好听新歌42》AI调整音效【WAV分轨】</span></a> </li> </ul> </div> </div> <div class="sidebar"> </div> </article> <footer> <p>友情链接:<a href="http://www.imxmx.com/" title="杰晶网络" target="_blank">杰晶网络</a> <a href="http://www.ddrfans.com/" title="DDR爱好者之家" target="_blank">DDR爱好者之家</a> <a href="http://www.nqxw.com/" title="南强小屋" target="_blank">南强小屋</a> <a href="http://www.paidiu.com/" title="黑松山资源网" target="_blank">黑松山资源网</a> <a href="http://www.dyhadc.com/" title="白云城资源网" target="_blank">白云城资源网</a> <a href="/sitemap.xml">SiteMap</a></p> <p>Design by <a href="http://m.wwsws.com">伏龙阁资源网</a> <a href="/">http://m.wwsws.com</a></p> </footer> <script src="/images/nav.js"></script> <script type="text/javascript"> jQuery.noConflict(); jQuery(function() { var elm = jQuery('#left_flow2'); var startPos = jQuery(elm).offset().top; jQuery.event.add(window, "scroll", function() { var p = jQuery(window).scrollTop(); jQuery(elm).css('position', ((p) > startPos) ? 'fixed' : ''); jQuery(elm).css('top', ((p) > startPos) ? '0' : ''); }); }); </script> </body> </html>