_hot-category.css
795 Bytes
.hot-category {
margin: 30px 0 0;
border-top: 1px solid #e0e0e0;
.category-banner {
height: 198px;
img {
display: block;
width: 100%;
height: 100%;
}
}
.category-list {
background: #fff;
border-top: 1px solid #e0e0e0;
li {
float: left;
width: 158px;
height: 174px;
border: 1px solid #e0e0e0;
.img-box {
width: 100%;
height: 138px;
text-align: center;
vertical-align: middle;
img {
max-width: 100%;
max-height: 100%;
vertical-align: middle;
}
}
}
}
}