Здравствуйте!
Подскажите, почему “.palette-box:nth-child(4) .part:last-child” не чувствует “align-content: flex-end”?
Кручу-верчу, не двигается(((
Заранее благодарю!
.exam {
display: flex;
flex-wrap: wrap;
justify-content: center;
}
.polette-box,
.palette-small,
.part {
display: flex;
flex-direction: column;
}
.palette-box:nth-child(3) .palette-small,
.palette-box:nth-child(4) .palette-small {
flex-direction: row;
}
.palette-box:nth-child(3) .part {
justify-content: space-between;
}
.palette-box:nth-child(3) .palette-small {
justify-content: space-between;
}
.palette-box:nth-child(2) .palette-small{
align-items: center;
justify-content: space-between;
}
.palette-box:nth-child(2) .color-1,
.palette-box:nth-child(2) .color-4 {
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(1) .palette-small {
align-items: center;
}
.palette-box:nth-child(1) .color-5,
.palette-box:nth-child(1) .color-2 {
align-self: stretch;
}
.palette-box:nth-child(4) .part:first-child {
flex-direction: row;
align-self: stretch;
}
.palette-box:nth-child(4) .part:last-child {
justify-content: space-between;
align-content: flex-end;
}
.palette-box:nth-child(1) .color-5 {
order: 2;
}
.palette-box:nth-child(1) .color-4 {
order: 4;
}
.palette-box:nth-child(1) .color-3 {
order: 1;
}
.palette-box:nth-child(1) .color-2 {
order: 3;
}
.palette-box:nth-child(2) .color-6 {
order: 3;
}
.palette-box:nth-child(2) .color-1 {
order: 1;
}
.palette-box:nth-child(2) .color-2 {
order: 4;
}
.palette-box:nth-child(2) .color-4 {
order: 2;
}
.palette-box:nth-child(3) .color-1 {
order: 1;
}
.palette-box:nth-child(3) .color-3 {
order: 2;
}
.palette-box:nth-child(3) .color-4 {
order: 3;
}
.palette-box:nth-child(3) .color-6 {
order: 4;
}
.palette-box:nth-child(4) .color-7 {
order: 1;
}
.palette-box:nth-child(4) .color-4 {
order: 2;
}
.palette-box:nth-child(4) .color-3 {
order: 3;
}
.palette-box:nth-child(4) .color-2 {
order: 4;
}