88888

Услуги электрика

Услуги электрика

Услуги сантехника

Услуги сантехника

Клининговые услуги

Услуги клининга

/* Карточка товара с фото и кнопкой*/
.grid * {
box-sizing: border-box;
}
.grid {
display: grid;
grid-template-columns: 1fr 1fr 1fr 1fr;
column-gap: 15px;
row-gap: 30px;
padding: 0px 0;
margin-bottom: 20px;
}
/* Кол-во блоков на разных экранах */
@media only screen and (max-width: 1200px) {
.grid {
grid-template-columns: 1fr 1fr 1fr;
}
}
@media only screen and (max-width: 900px) {
.grid {
grid-template-columns: 1fr 1fr;
}
}
@media only screen and (max-width: 600px) {
.grid {
grid-template-columns: 1fr;
}
}
.grid-item {
box-shadow: 0 2px 5px rgba (0,0,0,0.2), 0 4px 6px rgba (0,0,0,0.2);
transition: box-shadow .3s;
width: 100%;
height: 100%;
}
.grid-item .image {
height: 190px;
overflow: hidden;
}
.grid-item .info {
position: relative;
height: calc (100% — 200px);
padding: 16px 14px 108px 14px;
}
.grid-item:hover {
box-shadow: 0 4px 12px rgba (0,0,0,0.2), 0 16px 20px rgba (0,0,0,0.2);
}
.grid-item .image img {
transition: transform 280ms ease-in-out;
display: block;
width: 100%;
height: 100%;
object-fit: cover;
margin-top: 0px;
}
.grid-item:hover .image img {
transform: scale (1.1);
}
.info h2 {
font-family: 'Roboto Condensed', Тahoma, sans-serif;
color: #5a80b1;
font-size: 24px;
font-weight: normal;
margin: 0;
margin-bottom: 10px;
text-align: center;
}
.info-text p {
font-size: 15px;
line-height: 25px;
font-family: Verdana, sans-serif;
margin-bottom: 0px;
margin-top: 10px;
}
.info-text p:last-child {
margin-bottom: 0;
}
.grid-item .button-wrap {
display: block;
width: 100%;
position: absolute;
bottom: -2px;
left: 0;
text-align: center;
}
/* Кнопка подробнее */
.atuin-btn {
justify-content: center;
display: flex;
align-items: center;
width: calc (100%-20px);
text-decoration: none;
position: relative;
font-size: 17px;
line-height: 15px;
padding: 10px 20px;
margin: 10px;
color: #FFF;
text-align: center;
font-weight: bold;
text-transform: uppercase;
font-family: 'Roboto Condensed', Тahoma, sans-serif;
background: #5a80b1;
cursor: pointer;
border: 1px solid #BFE2FF;
}
.atuin-btn:hover,
.atuin-btn:active,
.atuin-btn:focus {
color: #FFF;
}
.atuin-btn:after,
.atuin-btn:before {
position: absolute;
height: 2px;
left: 50%;
background: #5a80b1;
bottom: -6px;
content: "";
transition: all 280ms ease-in-out;
width: 0;
}
.atuin-btn:before {
top: -6px;
}
.atuin-btn:hover:after,
.atuin-btn:hover:before,
.atuin-btn:active:after,
.atuin-btn:active:before,
.atuin-btn:focus:after,
.atuin-btn:focus:before {
width: 100%;
left: 0;
}

.atuin-btn.green {
background: #339966;
}
.atuin-btn.green:after,
.atuin-btn.green:before {
background: #339966;
}

Понравились наши услуги? Поделитесь в соц. сетях!