纯CSS3的水平动态导航菜单特效代码

版权:原创 更新时间:1年以上
[该文章底部包含文件资源,可根据自己情况,决定是否下载资源使用,时间>金钱,如有需要,立即查看资源]

以下是 纯CSS3的水平动态导航菜单特效代码 的示例演示效果:

当前平台(PC电脑)
  • 平台:

部分效果截图:

纯CSS3的水平动态导航菜单特效代码

HTML代码(index.html):

<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>纯CSS3的水平动态导航菜单</title>
 <style type="text/css">
            body {
                padding: 0;
                margin: 0;
                background: #D3D4C0;
                font-size: 14px;
                font-family: Arial, sans-serif;
                text-align: center;
            }
            img{border:none}
            #wrap {
                width: 970px;
                margin-left: auto;
                margin-right: auto;
            }
            /* Menu Start Here */
            #menu li {
                display: inline;
                list-style: none;
                padding: 0;
            }
            #menu li a {
                border: 1px solid white;
                padding: 15px 20px 15px 20px;
                text-decoration: none;
                color:black;
                margin-left: -5px;
                /* This is the background used for the animation */
                background-image: url('image.jpg');
                /* Align the image position to the left of the a */
                background-position: left;
                -webkit-transition: all 0.8s ease-in-out;
                /* Animation with transition in Firefox (No supported Yet) */
                -moz-transition: all 0.8s ease-in-out;
                /* Animation with transition in Opera (No supported Yet)*/
                -o-transition: all 0.8s ease-in-out;
            }
            
            #menu li a:hover {
                color: white;
                /* Align the image position of the background to the right*/
                background-position:right;
            }
            
        </style>
    </head>
    <body>
        <div id="wrap">
            <h1>CSS Menu Demo </h1>
            <ul id="menu">
                <li> <a href="#">Home</a> </li>
                <li> <a href="#">Products</a> </li>
                <li> <a href="#">Services</a> </li>
                <li> <a href="#">About</a> </li>
                <li> <a href="#">Contact</a> </li>
            </ul>
        </div><br />
</body>
</html>















附件:下载该文件资源,减少时间成本(增值服务)
留言
该资源可下载
File Source
.rar
1.76 KB
Html Js 菜单导航特效5
最新结算
HTML5 3D效果网页视频背景代码
类型: .rar 金额: CNY 2.31¥ 状态: 待结算 详细>
软件概要设计说明书Word下载
类型: .docx 金额: CNY 0.38¥ 状态: 待结算 详细>
软件概要设计说明书Word下载
类型: .docx 金额: CNY 3.02¥ 状态: 待结算 详细>
.net c#获取声卡信息,声卡数量
类型: .rar 金额: CNY 30.96¥ 状态: 待结算 详细>
.net c#获取声卡信息,声卡数量
类型: .rar 金额: CNY 3.87¥ 状态: 待结算 详细>
.net c#获取电脑的安装软件列表信息,包含名称和版本号
类型: .rar 金额: CNY 30.96¥ 状态: 待结算 详细>
.net c#获取电脑的安装软件列表信息,包含名称和版本号
类型: .rar 金额: CNY 3.87¥ 状态: 待结算 详细>
.net c#获取电脑显示适配器信息
类型: .rar 金额: CNY 30.96¥ 状态: 待结算 详细>
.net c#获取电脑的安装软件列表信息,包含名称和版本号
类型: .rar 金额: CNY 3.87¥ 状态: 待结算 详细>
.net c#获取电脑的安装软件列表信息,包含名称和版本号
类型: .rar 金额: CNY 30.96¥ 状态: 待结算 详细>
各执行环节公正透明,帮助企业完成从赛制策划、活动推广、评委评选到版权转让等系列工作,专业、高效、值得信赖。平均每场赛事可征集到数百至数千组源码作品
合作伙伴
联系我们
  • 邮箱:raozetian@hotmail.com
Copyright 2023-2024 eeigg.com·皖ICP备2024038726号-1
打赏文章