@olya_097

Что подправить в бордере?

чтобы там где я обвела не было бордера
5da315a4575dd291133286.jpeg
https://jsfiddle.net/ufpvq9to/
  • Вопрос задан
  • 80 просмотров
Решения вопроса 1
asuikit
@asuikit
Как один их вариантов
предлагаю это убрать
.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;
}


или ...
Ответ написан
Пригласить эксперта
Ваш ответ на вопрос

Войдите, чтобы написать ответ

Войти через центр авторизации
Похожие вопросы