Карточка товара 3 Asuka

DemoHTMLCSS
599 р.

Clancy T-Shirt Second Line

Размер:XSSMLXLXXL
Производство:Бангладеш
<section class="t-div-container-card">
    <div class="t-div-asuka">
        <div class="t-div-asuka-previewimage"></div>
        <div class="t-div-asuka-base">
            <div class="t-div-asuka-price">599 р.</div>
            <div class="t-div-asuka-title"><h3>Clancy T-Shirt Second Line</h3></div>
            <div class="t-div-asuka-bottom-meta">
                <div class="t-div-asuka-bottom-meta-line"><span class="t-div-asuka-parameter-name">Размер:</span><span class="t-div-asuka-parameter-value t-div-asuka-parameter-value-size">XS</span><span class="t-div-asuka-parameter-value t-div-asuka-parameter-value-size">S</span><span class="t-div-asuka-parameter-value t-div-asuka-parameter-value-size">M</span><span class="t-div-asuka-parameter-value t-div-asuka-parameter-value-size">L</span><span class="t-div-asuka-parameter-value t-div-asuka-parameter-value-size">XL</span><span class="t-div-asuka-parameter-value t-div-asuka-parameter-value-size">XXL</span></div>
                <div class="t-div-asuka-bottom-meta-line"><span class="t-div-asuka-parameter-name">Производство:</span><span class="t-div-asuka-parameter-value">Бангладеш</span></div>
                <div class="t-div-asuka-rating"><span class="t-div-asuka-rating-stars"><span>&#9733;</span><span>&#9733;</span><span>&#9733;</span><span>&#9733;</span><span>&#9733;</span></span></div>
            </div>
            <div class="t-div-asuka-cart">
                <button class="t-div-asuka-cart-button">В корзину</button>
                <button class="t-div-asuka-fav-button"><i class="fa fa-heart"></i></button>
            </div>
        </div>
    </div>
</section>
.t-div-container-card {
    width: 300px;
    height: auto;
    margin: 40px auto;
}

.t-div-asuka {
    height: 400px;
    background-color: #fff;
    box-shadow: 0 15px 15px rgba(0, 0, 0, 0.25);
    border-radius: 5px;
    overflow: hidden;
    font-family: "Open Sans", sans-serif;
}

.t-div-asuka div.t-div-asuka-previewimage {
    height: 100%;
    background: url("/des/code/img-cards/tee.jpg") no-repeat top center;
    background-size: cover;
    background-color: #666666;
    padding: 0;
    margin: 0;
}

.t-div-asuka:hover div.t-div-asuka-base {
    top: -75%;
    box-shadow: -15px 0 15px rgba(0, 0, 0, 0.25);
}

.t-div-asuka div.t-div-asuka-base {
    height: 75%;
    background: #f1f1f1;
    z-index: 1;
    padding: 2px 15px 15px 15px;
    margin: 0;
    position: relative;
    top: -88px;
    transition: top 0.3s ease-in-out;
}

.t-div-asuka div.t-div-asuka-base div.t-div-asuka-title h3 {
    font-size: 16px;
    margin: 20px 0;
    font-family: "Open Sans", sans-serif;
    font-weight: bold;
}

.t-div-asuka div.t-div-asuka-price {
    float: right;
    padding: 10px 15px;
    margin: -2px -20px 0 0;
    background: #0049a3;
    color: #fdfdfd;
    text-align: center;
    border-radius: 0 0 0 10px;
    font-weight: bold;
}

.t-div-asuka div.t-div-asuka-bottom-meta {
    border-top: 1px solid #cecece;
    padding-top: 10px;
}

.t-div-asuka div.t-div-asuka-bottom-meta-line {
    margin-bottom: 5px;
    line-height: 24px;
}

.t-div-asuka .t-div-asuka-parameter-name {
    font-size: 10pt;
    color:#666666;
}

.t-div-asuka .t-div-asuka-parameter-name:after {
    content: " ";
}


.t-div-asuka .t-div-asuka-parameter-value {
    font-size: 10pt;
    color:#666666;
}

.t-div-asuka .t-div-asuka-parameter-value-size {
    margin: 0 5px 0 0;
    background: #999999;
    color: #fdfdfd;
    padding: 2px 4px;
    border-radius: 3px;
    cursor: pointer;
}

.t-div-asuka .t-div-asuka-parameter-value-size:hover {
    background: #0049a3;
}

.t-div-asuka .t-div-asuka-rating {
    font-size: 20px;
    line-height: 24px;
    color: #999999;
}

.t-div-asuka .t-div-asuka-rating .t-div-asuka-rating-stars span:hover {
    color: #0049a3;
    cursor: pointer;
}

.t-div-asuka .t-div-asuka-cart {
    position: absolute;
    bottom: 20px;
    width: 100%;
    display: flex;
}

.t-div-asuka .t-div-asuka-cart button {
    margin: 0 5px 0 0;
}

.t-div-asuka .t-div-asuka-cart-button {
    text-align:left;
    position: relative;
    background: #0049a3;
    border: 0;
    border-radius: 5px;
    width: auto;
    cursor: pointer;
    font-weight: bold;
    color: #ffffff;
    transition: all 0.5s ease;
}

.t-div-asuka .t-div-asuka-cart-button::after {
    font-family: FontAwesome;
    content: "\f07a";
    font-size: larger;
    position: absolute;
    opacity: 0;
    margin-left: 18px;
}

.t-div-asuka .t-div-asuka-cart-button:hover {
    background: #0063de;
    transition: all 0.5s ease;
    box-shadow: 0 5px 15px #0000ff61;
    width: 170px;
}

.t-div-asuka .t-div-asuka-cart-button:hover::after {
    opacity: 1;
    transition: all 0.5s ease;
}

.t-div-asuka .t-div-asuka-cart-button:active {
    top: 1px;
}


.t-div-asuka .t-div-asuka-fav-button {
    position: absolute;
    right: 30px;
    background: #cecece;
    box-sizing: border-box;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    color: #ffffff;
    transition: all 0.5s ease;
}

.t-div-asuka .t-div-asuka-fav-button:hover {
    background: #0063de;
    transition: all 0.5s ease;
    box-shadow: 0 5px 15px #0000ff61;
}

.t-div-asuka .t-div-asuka-fav-button:hover::after {
    opacity: 1;
    transition: all 0.5s ease;
}

.t-div-asuka .t-div-asuka-fav-button:active {
    top: 1px;
}

Другие проекты