public/app/css/product.css

(开头部分) 5KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

/*产品列表*/

/*样式1 垂直布局*/
.product-list {
    width: 100%;
    margin-top: 10px;
    background-color: #fff;
}

.product-list .list li {
    float: left;
    width: 50%;
    border-bottom: 8px solid #f5f5f5;
    margin-top: 12px;
}

.product-list .list li:nth-child(2n) {
    padding-left: 7.5px;
    padding-right: 15px;
}

.product-list .list li:nth-child(2n+1) {
    padding-right: 7.5px;
    padding-left: 15px;
    position: relative;
}
.product-list .list li:nth-child(2n+1)::before{
    content:' ';
    position: absolute;
    left: 100%;
    bottom: -8px;
    width: 100%;
    height: 8px;
    background-color: #f5f5f5;
}

.product-list .list li .img_box {
    width: 100%;
    text-align: center;
    margin-top: 10px;
    position: relative;
}

.product-list .list li:last-child .img_box {
    border-right: 0;
}

.product-list .list li .img_box img {
    width: 150px;
    height: 100px;
}

@media screen and (max-width:350px) {
    .product-list .list li .img_box img {
        width: 135px;
        height: 90px;
    }
}

@media screen and (max-width:330px) {
后面还有 260 行代码,解锁后查看完整代码

24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明

AI 解读 AI

登录后可用,每次 10 算力,解读结果公开显示在下面。

还没有人解读过这个文件。