CSS menu

ul {
list-style-type: none;
margin: 0;
padding: 0;
overflow: hidden;
background-color: #0000FF;//#DE7333;
}

li {
float: left;
}

.liquit {
float: right;
}

.liquit a{
background-color: #C15500;
display: block;
color: white;
text-align: center;
padding: 14px 16px;
text-decoration: none;
}

li a {
background-color: #C15500;
display: block;
color: white;
text-align: center;
padding: 14px 16px;
text-decoration: none;
border-left: 2px solid #bbf;
}

li a:hover:not(.active) {
background-color: #111;
}

.active {
background-color: #4CAF50;
}

/* 设置二级菜单绝对定位,并隐藏 */
ul > li > ul {
position: absolute;
display: none;
}

/* 设置二级菜单的li的样式 */

ul > li > ul > li {
float: none;
}

/* 鼠标放在一级菜单上,显示二级菜单 */

ul > li:hover ul {
display: block;
}

ul > li > ul > li > a {
width: 120px;
line-height: 36px;
color: #456;
background-color: #eff;
text-align: center;
border: 1px solid #ccc;
border-top: none;
display: block;
}

/* 在二级菜单中,第一个设置顶边框 */

ul > li > ul > li:first-child > a {
border-top: 1px solid #ccc;
}

/* 在二级菜单中,鼠标放上去的样式 */

ul > li > ul > li > a:hover {
color: #a4f;
background-color: #cdf;
}

#footer {
position:absolute;
bottom:0;
width:99%;
height:45px;
background-color: #2CAF30;
}

p {
color: white;
text-align: center;
}

#box{
width:120px;
font-size: 12px;
font-family: “宋体”;
}
#box ul{
margin:0px;
padding:0px;
list-style-type: none;
}
#box li{
border-bottom: #ed9f9f solid 1px;

}
#box li a{
display: block;
padding: 5px 5px 5px 8px;
text-decoration: none;
border-left: 12px solid #711515;
border-right: 1px solid #711515;
}

#box li a:link{
background-color: #c11136;
color:#ffffff;
}
#box li a:visited{
background-color: #c11136;
color:#ffffff;
}
#box li a:hover{
background-color: #990020;
color:#ffff00;
}

.main_left{
width: 15%;
height: 85%;
color: white;
float:left;
background:#2CAF20;
cursor:pointer;
}

.main_right{
width: 84%;
height: 85%;
float:right;
background:#c0c0c0;
cursor:pointer;
}

.main_left ul{
margin:0px;
padding:0px;
list-style-type: none;
}
.main_left ul li{
border-bottom: #ed9f9f solid 1px;

}
.main_left ul li a{
display: block;
padding: 5px 5px 5px 8px;
text-decoration: none;
border-left: 12px solid #711515;
border-right: 1px solid #711515;
}

.bor{
border:1px dashed #F00;
margin-top:10px
}

.tableLine {
width: 90%;
background: #ccc;
margin: 10px auto;
border-collapse: collapse;
}
.tableLine tr:nth-child(even)
{
//background:#F00;
}
.tableLine th,td {
height: 25px;
line-height: 25px;
text-align: center;
border: 1px solid #ccc;
}
.tableLine th {
background: #eee;
font-weight: normal;
}
.tableLine tr {
background: #fff;
}
.tableLine tr:hover {
background: #cc0;
}
.tableLine td a {
color: #06f;
text-decoration: none;
}
.tableLine td a:hover {
color: #06f;
text-decoration: underline;
}

.tabNoLine {
width: 90%;
background: #ccc;
margin: 10px auto;
border-collapse: collapse;
}

.tabNoLine th {
background: #eee;
font-weight: normal;
}
.tabNoLine tr {
background: #fff;
}
.tabNoLine tr:hover {
//background: #cc0;
}
.tabNoLine td a {
color: #06f;
text-decoration: none;
}
.tabNoLine td a:hover {
color: #06f;
text-decoration: underline;
}

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值