.features__item:not(:first-child) {
border-left: 2px solid #003a7d;
}.features__item {
position: relative;
}
.features__item:not(:first-child)::before {
content: '';
position: absolute;
top: 0;
left: -1px;
border-left: 2px solid #003a7d;
height: calc(100% - 40px);
}
.features__item:nth-child(odd)::before{
top: 40px;
}.features__item {
position: relative;
}
.features__item:not(:first-child)::before {
content: '';
position: absolute;
top: 0;
bottom: 40px;
left: -1px;
border-left: 2px solid #003a7d;
}
.features__item:nth-child(odd)::before{
top: 40px;
bottom: 0;
}
.brands__item:hover .brands__image;{.brands__item:hover .brands__image {
<i class="fab fa-facebook"></i> - кругленькая<i class="fab fa-facebook-f"></i> - с прозрачным фоном<i class="fab fa-facebook-square"></i> - квадратная<i class="fab fa-facebook-messenger"></i> - доп.$(".gallery__item div").on({
mouseenter: function () {
$(this).text($(this).data('text'));
},
mouseleave: function () {
$(this).text("");
}
});.fin{
animation: fadein 3s;
}
.fout{
animation: fadeout 3s;
}
@keyframes fadein {
from { opacity: 0; }
to { opacity: 1; }
}
@keyframes fadeout {
from { opacity: 1; }
to { opacity: 0; }
}