zoukankan      html  css  js  c++  java
  • 箭头菜单

    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>箭头菜单</title>
    <style type="text/css">
    #menu {
        font-family:Arial, Helvetica, sans-serif;
        font-size:14px;
        140px;
        margin:0 auto;
        border:solid 1px #ccc;
    }
    #menu a, #menu a:visited {
        text-decoration:none;
        text-align:center;
        color:#000;
        display:block;
        padding:4px;
        background-color:#fff;
        border:solid 1px #fff;
        position:relative;
    }
    #menu a:hover {
        border-color:#c00;
    }
    #menu a:hover span {
        display:block;
        position:absolute;
        height:0px;
        0px;
        overflow:hidden;
        border:8px solid #fff;
        top:4px;
    }
    #menu a:hover span.left {
        border-left-color:#c00;
        left:8px;
    }
    #menu a:hover span.right {
        border-right-color:#c00;
        right:8px;
    }
    </style>
    </head>
    <body>
    <div id="menu">
    <a href="#"><span class="left"></span>Home<span class="right"></span></a>
    <a href="#"><span class="left"></span>Contact Us<span class="right"></span></a>
    <a href="#"><span class="left"></span>Web Dev<span class="right"></span></a>
    <a href="#"><span class="left"></span>Web Design<span class="right"></span></a>
    <a href="#"><span class="left"></span>Map<span class="right"></span></a>
    </div>
    </body>
    </html>

  • 相关阅读:
    二叉树的节点删除
    PHP开启错误日志详细说明
    jsonpath模块
    Gunicorn-配置详解
    Vmware创建虚拟机步骤说明,详细配置解释
    Python multiprocessing使用详解
    Python定时任务框架apscheduler
    Access-Control-Allow-Origin跨域解决及详细介绍
    web安全:x-content-type-options头设置
    sqlalchemy的基本操作大全
  • 原文地址:https://www.cnblogs.com/kelly/p/1288434.html
Copyright © 2011-2022 走看看