Currently in the process of developing a website that includes a team section designed to resemble the following:
https://i.sstatic.net/xHE3y.png
Here is the current scss
file being used:
.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;
}
}
The component has been divided into different sections as apparent, but it seems like every n+1 team member displays their image on the opposite side. Is there a way to reverse the column order?