_hot-brands.scss 1.35 KB
.hot-brands.girls {
    background: transparent;
}

.brands-swiper {
    background: #fff;
    width: 100%;
    height: 140rem / $pxConvertRem;
    overflow: hidden;

    .brands-list {
        position: relative;
        padding-bottom: 29rem / $pxConvertRem;
        border-bottom: 1px solid #e0e0e0;

        li {
            float: left;
            padding-left: 5%;
            width: 21.875%;
            height: 140rem / $pxConvertRem;

            a {
                position: relative;
                display: block;
                width: 100%;
                height: 100%;
            }

            img {
                display: block;
                width: 100%;
                height: 100%;
            }

            .brands-title {
                position: absolute;
                left: 8rem / $pxConvertRem;
                right: 8rem / $pxConvertRem;
                bottom: 8rem / $pxConvertRem;
                height: 28rem / $pxConvertRem;
                line-height: 28rem / $pxConvertRem;
                text-align: center;
                font-size: 18rem / $pxConvertRem;
                color: #444;
                background: rgba(255, 255, 255, 0.5);
                overflow: hidden;
                text-overflow: ellipsis;
                -o-text-overflow: ellipsis;
                white-space: nowrap;
            }
        }
    }
}