• 红色玻璃效果水平CSS菜单


    演示效果截图

     红色玻璃效果水平CSS菜单

    用到的图片

     

    CSS代码

    /* CSS Document */
    .rhm1{
    	450px;
    	height:64px;
    	margin:0 auto;
    	background:url(rhm1_bg.gif) repeat-x;		
    }
    .rhm1-left{
    	background:url(rhm1_l.gif) no-repeat;
    	15px;
    	height:64px;
    	float:left;
    }
    .rhm1-right{
    	background:url(rhm1_r.gif) no-repeat;
    	15px;
    	height:64px;
    	float:right;
    }
    .rhm1-bg{
    	background:url(rhm1_bg.gif) repeat-x;
    	height:64px;
    }
    .rhm1-bg ul{
    	list-style:none;
    	margin:0 auto;
    }
    .rhm1-bg li{
    	float:left;
    	list-style:none;
    }
    .rhm1-bg li a{
    	float:left;
    	display:block;
    	color:#ffe8cc;
    	text-decoration:none;
    	font:12px 'Lucida Sans', sans-serif;
    	font-weight:bold;
    	padding:0 0 0 18px;
    	height:64px;
    	line-height:40px;
    	text-align:center;
    	cursor:pointer;	
    }
    .rhm1-bg li a span{
    	float:left;
    	display:block;
    	padding:0 32px 0 18px;
    }
    .rhm1-bg li.current a{
    	color:#fff;
    	background:url(rhm1_hover_l.gif) no-repeat left 5px;
    }
    .rhm1-bg li.current a span{
    	color:#fff;
    	background:url(rhm1_hover_r.gif) no-repeat right 5px;
    }
    .rhm1-bg li a:hover{
    	color:#fff;
    	background:url(rhm1_hover_l.gif) no-repeat left 5px;
    }
    .rhm1-bg li a:hover span{
    	color:#fff;
    	background:url(rhm1_hover_r.gif) no-repeat right 5px;
    }
    

    HTML代码

    <h4 align="center">www.865171.cn</h4>
    <div class="rhm1">
    <div class="rhm1-right"></div>
    <div class="rhm1-left"></div>
    <div class="rhm1-bg">
    <ul>
    <li class="current">
    <a href="http://www.865171.cn"><span>www.865171.cn</span></a></li>
    <li><a href="http://www.865171.cn"><span>About Us</span></a></li>
    </ul>
    </div>
    </div>
  • 相关阅读:
    解析三种常见分布式锁的实现
    RabbitMQ基础概念详解
    数据库事务概念
    ECIF与CRM
    MQ(消息队列)学习
    数据粒度的设计
    链表之 头节点与尾指针 区别
    牛客之错题(2016.1.15) && 带头节点与不带头的区别
    数据结构之递归回溯算法
    LeetCode--Single Number
  • 原文地址:https://www.cnblogs.com/luluping/p/1542074.html
Copyright © 2020-2023  润新知