zoukankan      html  css  js  c++  java
  • 通过css3实现的动画导航菜单代码

    用css3样式实现的滑动导航菜单,html代码如下

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>CSS3 Minimalistic Navigation Menu | Tutorialzine demo</title>
    <link rel="stylesheet" type="text/css" href="styles.css" />
    </head>
    <body>
    <h1>CSS3 Minimalistic Navigation Menu</h1>
    <h2><a href="http://www.100sucai.com">Read the tutorial on Tutorialzine »</a></h2>
    <div id="main">
      <ul id="navigationMenu">
        <li> <a class="home" href="http://www.100sucai.com"> <span>Home</span> </a> </li>
        <li> <a class="about" href="http://www.100sucai.com"> <span>About</span> </a> </li>
        <li> <a class="services" href="http://www.100sucai.com"> <span>Services</span> </a> </li>
        <li> <a class="portfolio" href="http://www.100sucai.com"> <span>Portfolio</span> </a> </li>
        <li> <a class="contact" href="http://www.100sucai.com"> <span>Contact us</span> </a> </li>
      </ul>
    </div>
    </body>
    </html>
    

      

    效果图:

    演示及下载

  • 相关阅读:
    MySQL用户管理
    MySQL函数
    MySQL数据类型
    MySQL配置
    PowerDesigner之PDM检查
    PowerDesigner之PDM(物理概念模型)
    .NET Reflector反编译的方法
    IBatis.net 输出SQL语句(七)
    SVN 记录冲突、忽略
    SQLServer 窗口函数
  • 原文地址:https://www.cnblogs.com/good10000/p/4517000.html
Copyright © 2011-2022 走看看