• 导航栏特效 仅供自己学习使用


      <!DOCTYPE html>
      <html>
      <head>
      <meta charset="UTF-8">
      <title></title>
      <style>
       
      * {
      margin: 0;
      padding: 0;
      }
       
      body {
      background-color: moccasin;
      }
       
      .list {
      list-style: none;
      900px;
      margin: 100px auto;
      background-color: powderblue;
      }
       
      .list li {
      float: left;
      padding: 4px 0;
      margin: 0 18px;
      160px;
      line-height: 48px;
      text-align: center;
       
      }
       
      .list a {
      display: block;
      color: #000;
      text-decoration: none;
      font-size: 30px;
      position: relative;
      }
       
      .list span {
      display: block;
      100%;
       
      }
       
      .list span:after {
      position: absolute;
      left: 50%;
      right: 50%;
      bottom: 0;
      content: "";
      display: block;
      transition: .65s;
      border-bottom: solid 2px transparent;
       
      }
       
      .list a:hover span:after {
      left: 0;
      right: 0;
      border-bottom: solid 2px deeppink;
      }
       
      .clearfix:after, .clearfix:before {
      content: "";
      display: table;
      }
       
      .clearfix:after {
      clear: both;
      }
       
      .clearfix {
      *zoom: 1;
      }
       
      </style>
      </head>
      <body>
      <ul class="list clearfix">
      <li><a href="#" class="title_a move"><span class="T_title">首页</span></a></li>
      <li><a href="#" class="title_a move"><span class="T_title">家庭服务</span></a></li>
      <li><a href="#" class="title_a move"><span class="T_title">企业服务</span></a></li>
      <li><a href="#" class="title_a move"><span class="T_title">收纳服务</span></a></li>
      </ul>
       
      </body>
      </html>
  • 相关阅读:
    网站备份list
    vnc checklist
    appnode iptables 规则后面覆盖前面的
    Appnode + Discuz checklist
    解决WORD文档无法显示链接的图像问题
    应用容器Application container
    要研究的内容
    转 Flex MXML编译成AS类
    Flex文件结构
    int a
  • 原文地址:https://www.cnblogs.com/opcec/p/5472545.html
Copyright © 2020-2023  润新知