小米商城css样式表

idhtml, body, div, ul, li, h1, h2, h3, h4, h5, h6, p, dl, dt, dd, ol, form, input, textarea, th, td, select {
margin: 0;
padding: 0;
}
*{box-sizing: border-box;}
html, body {
min-height: 100%;
}

body {
font-family: “Microsoft YaHei”;
font-size:14px;
color:#333;
}
h1, h2, h3, h4, h5, h6{font-weight:normal;}
ul,ol {
list-style: none;
}

img {
border: none;
vertical-align: middle;
}

a {
text-decoration: none;
color: #232323;
}

table {
border-collapse: collapse;
table-layout: fixed;
}

input, textarea {
outline: none;
border: none;
}

textarea {
resize: none;
overflow: auto;
}

.clearfix {
zoom: 1;
}

.clearfix:after {
content: “.”;
width: 0;
height: 0;
visibility: hidden;
display: block;
clear: both;
overflow:hidden;
}

.fl {
float: left
}

.fr {
float: right
}

.tl {
text-align: left;
}

.tc {
text-align: center
}

.tr {
text-align: right;
}

.ellipse {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.inline{
display: inline-block;
*display: inline;
zoom: 1;
}
.body{
width: 100px;
height: 100px;
background-color: aqua;
}
/
qingchuyangshi /
.topbar{
border: 1px solid black;
background-color: #333;
height: 45px;
}
body{
height: 2000px;
font:14px/1.5 “Helvetica Neue”,Helvetica,Arial,“Microsoft Yahei”,“Hiragino Sans GB”,“Heiti SC”,“WenQuanYi Micro Hei”,sans-serif
}
.topbar a{
color: #b0b0b0;
font-size: 12px;
}
.topbar a:hover{
color: #fff;
}
.container{
/
border: 1px solid black; /
margin: 0 auto;
width: 1226px;
}
.container::before , .container::after
{
content: “”;
display: table;
}
.container::after {
clear: both;
}
.topbar-nav{
float: left;
height: 40px;
line-height: 40px;
font-size: 0px;
}
.topbar-nav span{
font-size: 12px;
color:#424242;
font-family: sans-serif;
margin: 0.5em;
}
.topbar-info , .topbar-cart{
float: right;
}
.topbar-cart a{
display: block;
height: 40px;
line-height: 40px;
text-align: center;
width:120px;
background-color: #424242;
}
.topbar-cart a:hover{
background-color: #ffffff;
color: #ff6700;
}
.topbar-cart span{
margin-left: -4px;
font-size: 12px;
}
.topbar-cart i{
font-size: 18px;
line-height: 18px;
margin-right: 4px;
vertical-align: -4px;
}
.topbar-info{
margin-right: 15px;
}
.topbar-info a{
float: left;
padding: 0 5px;
line-height: 40px;
height: 40px;
}
.topbar-info span{
float: left;
font-family: sans-serif;
font-size: 12px;
color:#424242;
line-height: 40px;
height: 40px;
}
.topbar-info .sep{
padding: 0px 10px;
}
/
上面是导航栏的css /
.header{
height: 100px;
}
.header-logo{
float: left;
width: 62px;
height: 55px;
margin-top: 22px;
/
border: 1px solid black; */

}
.header-logo a{
display: block;
width: 55px;
height: 55px;
background: #ff6700 url(…/img/milogo.png) no-repeat 50% 50%;
}
.header-logo a.lr{
text-align: left;
text-indent: -999em;
}
.header-nav{
float: left;
width: 820px;
height: 100px;
/* border: 1px solid black; /
}
.header-nav .navList{
width: 820px;
height:88px;
font-size: 16px;
padding: 12px 0 0 38px;
/
border: 1px solid black; */

}
.header-nav .navList .navItem{
float: left;
}
.header-nav .navList .navItem a{
display: block;
padding: 26px 10px 38px;
color: #333;
}
.header-nav .navList .navItem a:hover{
color: #ff6700;
}
.header-nav .navList .navItem1{
padding: 0px 0px 0px;
width: 127px;
float: left;
text-align: right;
}
.header-nav .navList .navItem1 a:hover{
color: #333;
}
.header-search{
float: right;
width: 296px;
height: 50px;
margin-top: 25px;
/* border: 1px solid black; /
}
.header-search .search-form{
position: relative;
display: block;
width: 296px;
height: 50px;
/
border: 1px solid black; */
}
.header-search .search-form .search-text{
position: absolute;
top:0;
right:51px;
display: block;
width: 245px;
height:50px;
line-height: 50px;
font-size: 16px;
border: 1px solid #e0e0e0;
outline: 0;
}
.header-search .search-form .search-btn{
position: absolute;
top:0;
right:0;
display: block;
width: 52px;
height: 50px;
border: 1px solid #e0e0e0;
font-size: 24px;
line-height: 24px;
background-color: #fff;
}
.header-search .search-form .search-btn:hover{
background-color: #ff6700 ;
color: #fff;

}
/* seckill /
.seckill{
background-color:#f5f5f5;
}
.seckill-head{
margin-top: 19px;
height: 170px;
/
border: 1px solid black; /
background: url(…/img/seckillhead.jpg) no-repeat 50% 0;
/
background-color: red; /
}
.seckill-nav{
width: 1215px;
margin: -68px 0 22px;
}
.seckill-navfixed{
position: fixed;
top: 60px;
/
border: 1px solid red; /
}
.seckill-nav ul{
height:68px;
background-color: #414141;
}
.seckill-nav li{
display: block;
float: left;
color: #fff;
width: 20%;
height: 68px;
line-height: 68px;
text-align: center;
cursor: pointer;
}
.seckill-nav .active{
background-color: #f1393a;
}
.seckill-nav li em{
display: inline-block;
/
margin-left:15px;
margin-right:15px; */
margin: auto 15px;
font-style: normal;
font-size: 18px;
line-height: 1;
vertical-align: middle;
}
.seckill-nav li span{
display: inline-block;
text-align: left;
line-height: 1;
vertical-align: middle;
font-size: 14px;
}
.seckill-nav ul li span em{
display: inline-block;
font-size: 14px;
margin-left: 0;
font-style: normal;
text-align: left;
line-height: 20px;
}

.seckill ul{
margin-right: -13px;
display: block;
/* border: 1px solid black; /
}
.seckill-goods ul{
display: none;
}
.seckill-goods .active{
display: block;
}
.seckill-goods li{
float: left;
width: 400px;
height: 190px;
background-color: #fff;
/
border: 1px solid black; */
margin-right: 13px;
margin-bottom: 13px;

}
.seckill-goods .bg{
float: left;
width: 190px;
height:190px;
/* border: 1px solid black; */
}
.seckill-goods .bg img{
height: 190px;

}
.seckill-goods .info{
width: 190px;
height:190px;
margin-left: 210px;
padding-top: 30px;
/* background-color: red; /
}
.seckill-goods .info .name{
font-size: 16px;
color: #333;
height: 16px;
line-height: 16px;
display: block;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.seckill-goods .info .tips{
font-size: 12px;
line-height: 12px;
color: #b0b0b0;
margin-top: 10px;
}
.seckill-goods .info .price{
font-size: 16px;
line-height: 16px;
color: #f1393a;
margin-top: 14px;
}
.seckill-goods .info del{
color: #999;
font-size: 12px;
line-height: 12px;
margin-left: 10px;
}
.seckill-goods .info .btn{
display: inline-block;
width: 118px;
height: 28px;
color:#fff;
line-height: 28px;
text-align: center;
background-color: #f1393a;
margin-top: 19px;
border: 1px solid #f1393a;
/
border: 1px solid black; */

}
.seckill-notice{
font-size: 12px;
color: #999;
margin-top: 100px;
padding-bottom: 35px;
/* border: 1px solid black; */
}
.seckill-goods .info .person{
font-size: 12px;
height: 12px;
color: #999;
margin-top: 10px;
}

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

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

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值