_activity.css 791 Bytes
.banner {
    position: relative;

    .outlet-activity-time {
        position: absolute;
        left: 10px;
        top: 10px;
        background-color: rgba(0, 0, 0, 0.6);
        border-radius: 40px;
        padding: 0 10px;
        display: inline-block;
        height: 40px;
        line-height: 40px;

        .iconfont {
            display: inline-block;
            margin-right: 5px;
            position: relative;
            top: -2px;
        }

        .iconfont,
        span {
            color: #fff;
            font-size: 20px;
        }

    }

    .outlet-discount {
        width: 100%;
        color: #fff;
        background-color: rgba(0, 0, 0, 0.6);
        text-align: right;
        padding: 3px 60px;
        position: absolute;
        bottom: 0;
    }

}