zoukankan      html  css  js  c++  java
  • css3 导航效果

    <html>
    <head>
    <style type="text/css">
    ul{
    list-style:none;
    border-left:1px solid grey;
    padding:10px 0;
    margin-left:auto;
    margin-right:auto;
    200px;
    }

    li#yuanjiao{
    100px;
    height:35px;
    border:1px solid grey;
    border-left:0px solid grey;
    margin:6px 0px;
    border-radius:0px 15px 15px 0px;
    text-align:center;
    line-height:35px;
    -webkit-transition:width 0.5s linear,background-color 1s linear;
    -moz-transition:width 0.2s linear,background-color 1s linear;
    -o-transition:width 0.2s linear,background-color 1s linear;
    -ms-transition: width 0.3s ease, background-color 1s ease;
    transition: width 0.3s ease, background-color 1s ease;
    }

    li#yuanjiao:hover{
    200px;
    height:35px;
    border:1px solid grey;
    border-left:0px solid grey;
    margin:5px 0px;
    border-radius:0px 15px 15px 0px;
    background-color:orange;
    text-align:center;
    }

    </style>
    </head>
    <body>
    <ul>
    <li id="yuanjiao">W3CFuns</li>
    <li id="yuanjiao">HTML5</li>
    <li id="yuanjiao">CSS3</li>
    <li id="yuanjiao">JavaScript</li>
    <li id="yuanjiao">jQuery</li>
    <li id="yuanjiao">XHTML+CSS</li>
    <li id="yuanjiao">By weiyan</li>
    </ul>
    <script>
    if(!-[1,]){
      alert("fuck");
    }
    </script>
    </body>
    </html>

  • 相关阅读:
    MySQL使用alter修改表的结构
    MySQL基本库表管理
    MySQL的rpm安装教程
    MySQL基础理论
    Linux shell awk数组使用
    Linux shell awk逻辑控制语句
    Linux shell awk模式使用
    MySQL 查看执行计划
    MySQL 自定义函数
    MySQL 内置函数
  • 原文地址:https://www.cnblogs.com/iloveyoucc/p/2666564.html
Copyright © 2011-2022 走看看