В настоящее время я создаю сайт с разделом команды, который должен выглядеть следующим образом:
Вот мой текущий scss
file:
.team-member-card {
&__text-content {
background-color: red;
padding: 16px;
overflow-y: scroll;
}
&__name {
font-family: CircularStd;
font-size: 24px;
font-weight: bold;
font-stretch: normal;
font-style: normal;
line-height: normal;
letter-spacing: normal;
color: $white;
}
&__role {
font-family: CircularStd;
font-size: 18px;
font-weight: 500;
font-stretch: normal;
font-style: normal;
line-height: 1.44;
letter-spacing: normal;
color: $white;
}
&__biography {
font-family: Balto;
font-size: 16px;
font-weight: normal;
font-stretch: normal;
font-style: normal;
line-height: 1.5;
letter-spacing: normal;
color: $white;
}
&__image-container {
position: relative;
}
&__image {
height: auto;
max-width: 100%;
object-fit: contain;
background-color: #ffffff;
}
&__social-link {
position: absolute;
width: 48px;
height: 48px;
object-fit: contain;
}
}
Я разбил компонент на очевидные участки, которые я вижу, но, как вы можете видеть, у каждого n + 1 члена команды есть свое изображение на другой стороне, есть ли способ инвертировать порядок столбцов?