前端入门到熟悉day12

31 篇文章 0 订阅
31 篇文章 0 订阅

京东其他两个页面:1分类 2购物车
/* 分类页和购物车页面公共样式的topBar /
.jd_topBar{
height: 45px;
width: 100%;
background: url("…/images/header-bg.png") repeat-x;
background-size: 1px 45px;
border-bottom: 1px solid #e0e0e0;
position: fixed;
top: 0;
left: 0;
z-index: 1000;
}
.jd_topBar .icon_back{
width: 40px;
height: 44px;
background-position: -20px 0;
display: block;
padding: 12px 10px;
background-clip: content-box;
background-origin: content-box;
position: absolute;
left: 0;
top: 0;
}
.jd_topBar .icon_menu{
height: 20px;
width: 20px;
background-position: -60px 0;
display: block;
background-clip: content-box;
background-origin: content-box;
position: absolute;
right: 0;
top: 0;
margin:12px 10px;
}
.jd_topBar form{
width: 100%;
height: 44px;
padding: 0 40px;
}
.jd_topBar form input{
width: 100%;
height: 30px;
line-height: 42px;
font-size: 12px;
border: 1px solid #bfbfbf;
border-radius: 4px;
padding: 0 8px;
margin-top: 7px;
}
.jd_topBar h2{
width: 100%;
height: 44px;
line-height: 42px;
font-size: 16px;
color: #000;
font-weight: inherit;
text-align: center;
}
/
底部导航区域 */
.commonNav{
position: fixed;
width: 100%;
padding: 0;
margin: 0;
left: 0;
bottom: 0;
z-index: 999;
box-sizing: border-box;
list-style: none;
background-color: #fff;
box-shadow: 0 0 10px 0 hsla(0,6%,58%,.6);
-webkit-box-shadow: 0 0 10px 0 hsla(0,6%,58%,.6);
-moz-box-shadow: 0 0 10px 0 hsla(0,6%,58%,.6);
font-size: 16px;
background-color: rgb(255, 255, 255);
}
.commonNav ul{
width: 100%;
margin: 0 auto;
}
.commonNav ul li{
float: left;
width: 20%;
}
.commonNav ul li img{
width: 100%;
}

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值