.services2 {
display: flex;
justify-content: space-between;
}
.service-item2 {
position: relative;
width: 30%; /* Ширина первого слоя */
height: 985px;
padding: 10px; /* Поля вокруг текста */
background: #fff; /* Цвет фона */
border:1px solid #53c1ef;
}
.service-item2::before {
content:"\f005";
font-family: 'FontAwesome';
position: absolute;
top: 0;
left: 0;
width: 40px;
height: 40px;
line-height: 40px;
text-align: center;
background: #53c1ef;
border-radius: 0 0 50% 0;
}
.star-wrap {
position: absolute;
top: 0;
left: 0;
width: 40px;
height: 40px;
line-height: 40px;
text-align: center;
background: #53c1ef;
border-radius: 0 0 50% 0;
}
@media(max-width: 768px){ .services2 { display: block; } .service-item2 { width: 100%; margin-bottom: 20px; } }
box-sizing:border-box;
}
.services {
display: flex;
flex-wrap:wrap;
}
@media (min-width: 700px) {
.service-item {
width: 31%;
}
}
.service-item {
position: relative;
width: 100%; /* Ширина первого слоя */
height: 350px;
padding: 10px; /* Поля вокруг текста */
background: #fff; /* Цвет фона */
margin: 15px 15px 15px 15px;
border:1px solid #FF6600;
}
.service-item::before {
content:"\f005";
font-family: 'FontAwesome';
position: absolute;
top: 0;
left: 0;
width: 40px;
height: 40px;
line-height: 40px;
text-align: center;
background: orange;
border-radius: 0 0 50% 0;
}
.star-wrap {
position: absolute;
top: 0;
left: 0;
width: 40px;
height: 40px;
line-height: 40px;
text-align: center;
background: orange;
border-radius: 0 0 50% 0;
}
box-sizing:border-box;
}
.services {
display: flex;
}
@media (min-width: 300px){
.service-item {
width: 31%;
flex-wrap:wrap;
}
.service-item {
position: relative;
width: 100%; /* Ширина первого слоя */
height: 350px;
padding: 10px; /* Поля вокруг текста */
background: #fff; /* Цвет фона */
margin: 15px 15px 15px 15px;
border:1px solid #FF6600;
}
.service-item::before {
content:"\f005";
font-family: 'FontAwesome';
position: absolute;
top: 0;
left: 0;
width: 40px;
height: 40px;
line-height: 40px;
text-align: center;
background: orange;
border-radius: 0 0 50% 0;
}
.star-wrap {
position: absolute;
top: 0;
left: 0;
width: 40px;
height: 40px;
line-height: 40px;
text-align: center;
background: orange;
border-radius: 0 0 50% 0;
}