Карточка продукта 1 Moka

DemoHTMLCSS
Коллекция MOKA
Производство:Россия
Размер:XS-XXL
Цвет:в ассортименте
Цена:29 600 руб.
<section class="t-div-container-card">
    <div class="t-div-moka">
        <div class="t-div-moka-top-meta">
            <span class="t-div-moka-subtitle">Коллекция</span>
            <span class="t-div-moka-title">MOKA</span>
        </div>
        <div class="t-div-moka-previewimage"></div>
        <div class="t-div-moka-bottom-meta">
            <div class="t-div-moka-bottom-meta-line"><span class="t-div-moka-parameter-name">Производство:</span><span class="t-div-moka-parameter-value">Россия</span></div>
            <div class="t-div-moka-bottom-meta-line"><span class="t-div-moka-parameter-name">Размер:</span><span class="t-div-moka-parameter-value">XS-XXL</span></div>
            <div class="t-div-moka-bottom-meta-line"><span class="t-div-moka-parameter-name">Цвет:</span><span class="t-div-moka-parameter-value">в ассортименте</span></div>
            <div class="t-div-moka-bottom-meta-line t-div-moka-bottom-meta-line-price"><span class="t-div-moka-parameter-price">Цена:</span><span class="t-div-moka-price">29 600 руб.</span></div>
            <button class="t-div-moka-cart-button">В корзину</button>
        </div>
    </div>
</section>
.t-div-container-card {
    width: 280px;
    height: auto;
    margin: 40px auto;
}

.t-div-moka {
    width:280px;
    height: auto;
    background: #fdfdfd;
    border-radius: 10px;
    box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.1);
    padding: 20px 25px;
    font-family: Rubik, sans-serif;
}

.t-div-moka:hover {
    box-shadow: 0px 0px 20px 0px rgba(0,0,0,0.15);
    transition: all 0.2s ease-in-out;
}

.t-div-moka .t-div-moka-subtitle {
    font-size: 12px;
    color: #333333;
}

.t-div-moka .t-div-moka-title {
    display: block;
    line-height: 16px;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    font-weight: bold;
    font-size: 22px;
}

.t-div-moka div.t-div-moka-previewimage {
    height: 150px;
    background-color: #333333;
    background: url("/des/code/img-cards/moka.jpg") no-repeat center center;
    background-size: cover;
    border-radius: 10px;
    margin: 20px 0;
}

.t-div-moka div.t-div-moka-bottom-meta {
    padding-top: 20px;
    border-top: 1px #ddd solid;
}

.t-div-moka div.t-div-moka-bottom-meta-line {
    margin-bottom: 5px;
    line-height: 18px;
}

.t-div-moka div.t-div-moka-bottom-meta-line-price {
    margin-top: 1em;
}

.t-div-moka .t-div-moka-parameter-name, div.t-div-moka .t-div-moka-parameter-price {
    font-size: 9pt;
    color: #999999;
}

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

.t-div-moka .t-div-moka-parameter-value {
    font-size: 9pt;
    color: #333333;
}

.t-div-moka .t-div-moka-price {
    font-size: 12pt;
    color: #333333;
    font-weight: bold;
    display: block;
}

.t-div-moka .t-div-moka-cart-button {
    float: right;
    position: relative;
    bottom: 35px;
}

.t-div-moka .t-div-moka-cart-button {
    background-color: #ffffff;
    text-align: center;
    border: none;
    border-radius: 10px;
    box-shadow: 0 -3px 6px rgba(0, 0, 0, 0.05);
    cursor: pointer;
    font-size: 10px;
    font-weight: bold;
    color: #444444;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.1em;

    transition: all 0.25s ease-in-out 0s;
}

.t-div-moka .t-div-moka-cart-button:hover {
    background-color: #d6481a;
    box-shadow: 0px 7px 10px rgba(180, 35, 25, 0.25);
    color: #fafafa;

    transform: translateY(-4px);
}

.t-div-moka .t-div-moka-cart-button:active {
    bottom: 30px;
}

@media screen and (max-width: 375px) {
    .t-div-container-card, .t-div-moka {
        min-width: 280px;
        width: 90%;
    }
}

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