石榴子儿

导航

首页css

body{
background-color: #CCCCCC;
}

iframe{
border: none;
overflow: hidden;
margin-bottom: -4px;
}


.content ul{
padding-left: 0;
}
.content ul li{
display: inline-block;
}
.content{
width: 1000px;
margin: 0 auto;
}
.content .banner img{
width: 1000px;
}
.content .star{
margin-top: 20px;
}
.content .star .title{
background-image: url(../img/zhuxing.png);
background-repeat: no-repeat;
height: 45px;
}
.content .star li{
background-color: white;
vertical-align: bottom;
/* 水平对齐 */
}
.content .star li:last-child{
height: 135px;
margin-left: 20px;
}
.content .star li img{
width: 180px;
}
.content .star li:last-child img{
height: 135px;
width: 240px;
}
.content .star li span{
padding: 10px;
text-align: center;
display: block;
}
.content .top{
margin-top: 20px;
}

.content .top .title{
height: 25px;
background-image: url(../img/shop_title2.png);
background-repeat: no-repeat;
background-position: 0 -60px;
}
.content .top li{
margin: 0 3px;
width: 115px;
background-color: white;
}
.content .top li:first-child{
margin-left: 0;
}
.content .top li:first-child{
margin-right: 0;
}
.content .top img{
width: 115px;
}
.content .list li{
background-color: #FFFFFF;
width: 323px;
margin: 10px 5px;
height: 154px;

}
.content .list li:nth-child(3n+1){
margin-left: 0;
}

.content .list li:nth-child(3n){
margin-right: 0;
}
.content .list img{
height: 154px;
width: 154px;
}
.content .list .right{
display: inline-block;
vertical-align: top;
}
.content .list .right span{
font-size: 10px;
display: block;
color: #666666;
margin: 10px 5px;
width: 150px;
}
.content .list .right .title{
margin-top: 30px;
text-overflow: -o-ellipsis-lastline;
overflow: hidden;
text-overflow: ellipsis;
display: -webkit-box;
-webkit-line-clamp: 2;
line-clamp: 2;
-webkit-box-orient: vertical;

}
.content .list .right .money{
color: #DE4767;
}
.content .list .right div{
margin-top: -7px;
}
.content .list .right div span{
display: inline-block;
}
.content .list .right .love{
height: 12px;
width: 12px;
background-image: url(../img/icon/ico.png);
background-position: 0 -74px;
margin-top: 15px;
}
.content .list .right .num{
width: 100px;
vertical-align: top;
}

posted on 2021-10-27 12:18  石榴子儿  阅读(44)  评论(0编辑  收藏  举报