鼠标经过导航弹出提示信息css代码

2个月前 (03-27 19:50)阅读40回复0
大陆
大陆
  • 管理员
  • 发消息
  • 注册排名1
  • 经验值4509
  • 级别管理员
  • 主题901
  • 回复2
楼主

带提示信息的css导航菜单,当用户的鼠标经过后在下面弹出提示信息显示,根据自己的需求来自定义说明信息。

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="keywords" content="武鸣人网站,武鸣信息网,武鸣本地网,武鸣信息资源平台,减肥,健身,励志,励志语录,js特效,网页特效,www.wuming.ren">
<meta name="description" content="欢迎来到武鸣人信息资源平台,各种信息免费发布,资源共享合作共赢,分享互联网流行的励志语录经典短句,减肥健身健康小常识及打卡记录,收集各种js特效代码。">
<title>鼠标经过导航弹出提示信息css代码_武鸣人</title>
<style>
/* alixixi.com */
*{ margin:0; padding:0; list-style:none; font-size:12px; line-height:1.8;}
body{ background: #333}
#info{padding:50px;}
#infobox{padding:0px 20px;background-color: #640000;}
#center{background: #ABBAAC; border-top:2px solid #333; padding:20px;}
.c{ clear:both; height:1px; overflow: hidden; background:#333}
#infobox li{ border-right:1px solid #000; float:left; margin-right:1px; text-align:center;margin-top:-4px; }
a{ width:100px;line-height:28px; display:block;}
a:link,a:visited{color:#000;background:#FF9900;text-decoration: none;}
a:hover,a:active{ color:#FFFF00;background:#000;}
/*以是下显示TIP的内容*/
#infobox span{ display: none; }
#infobox a:hover span{display: block;position:absolute;border:1px solid #640000;background: #FFFFCC;margin-top:26px!important; margin-top:20px;color:#000;padding:5px;white-space: nowrap;}
</style>
</head>
<body>
<a href="https://www.wuming.ren">武鸣人</a>,各种信息资源免费发布,分享励志语录经典短句,减肥健身常识,各种js特效代码。网站很好记住,wuming.ren(武鸣拼音.ren域名后缀)<hr>
<!--欢迎来到武鸣人信息资源平台,各种信息免费发布,资源共享合作共赢,分享互联网流行的励志语录经典短句,减肥健身健康小常识及打卡记录,收集各种js特效代码。-->
<script type="text/javascript" src="https://www.wuming.ren/ad/tc.js"></script>
<script type="text/javascript" src="https://www.wuming.ren/ad/a.js"></script>
<div id="info">
 <div id="infobox">
  <ul>
   <li><a href="https://www.wuming.ren" target="_blank"><span>从这里可以进入我的首页!</span>网站首页</a></li>
   <li><a href="https://wuming.ren" target="_blank"><span>专注于网页特效及广告代码!</span>武鸣人</a></li>
   <li><a href="https://wuming.ren" target="_blank"><span>高质量,看了包你喜欢!</span>网页特效</a></li>
   <li><a href="https://wuming.ren" target="_blank"><span>武鸣人网站内容!</span>广告代码</a></li>
   <li><a href="https://www.wuming.ren" target="_blank"><span>Web开发之家!</span>武鸣人</a></li>
   <li><a href="https://wuming.ren" target="_blank"><span>记得常来哦!</span>您自定义</a></li>
  </ul>
  <div class="c"></div>
 </div>
<div id="center">
</div>
</div>
</body>
</html>


0
0
收藏0
回帖

鼠标经过导航弹出提示信息css代码 期待您的回复!

取消
载入表情清单……
载入颜色清单……
插入网络图片

取消确定

图片上传中
编辑器信息
提示信息