CSS
.palette-small,
.part {
display: flex;
}
.palette-box:first-child .palette-small {
flex-direction: column-reverse;
justify-content: center;
}
.palette-box:first-child .color-3,
.palette-box:first-child .color-4 {
align-self: center;
}
.palette-box:first-child .color-4 {
order: -1;
}
.palette-box:first-child .color-3 {
order: 1;
}
.palette-box:nth-child(2) .palette-small {
flex-direction: column-reverse;
justify-content: space-between;
}
.palette-box:nth-child(2) .color-4,
.palette-box:nth-child(2) .color-1 {
align-self: flex-start;
}
.palette-box:nth-child(2) .color-6,
.palette-box:nth-child(2) .color-2 {
align-self: flex-end;
}
.palette-box:nth-child(3) .part {
flex-direction: column;
justify-content: space-between;
}
.palette-box:nth-child(3) .palette-small {
justify-content: space-between;
}
.palette-box:nth-child(4) .part:last-child {
flex-direction: column-reverse;
justify-content: space-between;
align-items: flex-end;
}
Почему не срабатывает?
align-items: flex-end