listys

.content{
background-color: #CCCCCC;
}
.content .type-container{
background-color: white;
}
.content .type{
border: 1px solid #ccc;
width: 1000px;
margin: 20px auto;
padding: 5px 20px;
height: 120px;
/* 1上下左右
2 上下 左右
3 上 右 下
*/
}
.content .type dl{
position: relative;
}
.content .type dl:first-child{
padding-bottom: 10px;
border-bottom: 1px dotted #ccc;
}
.content .type dt{
font-size: 18px;
font-weight: bolder;
}
.content .type dd{
font-size: 12px;
color: #666;
position: absolute;
top: -10px;
line-height: 30px;
}
.content .type dd ul li{
display: inline-table;
width: 120px;
}
.content .list{
width: 1042px;
margin: 0 auto;
}
.content .list ul{
padding-left: 0;
}
.content .list a{
text-decoration: none;
}
.content .list ul li{
width: 160px;
display: inline-table;
background-color: white;
margin: 15px;
padding: 10px;
}
.content .list ul li:nth-child(5n+1){
margin-left: 0;
}
.content .list ul li:nth-child(5n){
margin-right: 0;
}
.content .list img{
width: 160px;
}
.content .list .title{
display: block;
}
.content .list div{
text-align: center;
}
.content .list .money{
color: #DE4767;
}
.content .list div .love{
width: 12px;
height:12px;
display: inline-block;
background-image:url(img/icon/ico.png);
background-repeat: no-repeat;
background-position: 1px -73px;
margin: 1px 5px;
}
.content .list div .num{
color: #CCCCCC;
}
.type2 div{
width: 1500px;
}
.type2 img{
padding-top: 4px;
width: 1500px;
text-align: center;
}
.footer{
width: 1500px;
height: 110px;
background-color: #333333;
margin: 0px;
text-align: center;
}
.footer ul li{
display: inline-block;
margin-top: 45px;
}
.footer ul li a{
font-size: 18px;
text-decoration: none;
color: #ccc;
border-left: 1px solid #ccc;
}
.footer ul li:first-child a{
border: none;
}

上一篇:overleaf创建表格


下一篇:CSS-列表详情页