Странное дело (Firefox)
Код не хотите показать?
Нет. Мне стыдно. Вернее мне не стыдно потому что сам, но стыдно за то КАК это реализовано =)
просто все-равно странно, наверху в редакторе все ок, в сравнении не отобразился результат редактора
Да ладно вам) Чего только этот форум не видел. А картинки мало мне.
Сразу скажу, делал чтобы мне было понятно =) не выкладываю потому что знаю кто корявый, не оптимизирован
/*========================№1========================*/
.palette-small{
display:flex;
flex-direction:column;
justify-content:center;
}
.palette-small .color-3,.color-4{
align-self:center;
}
.color-4{
order:1;
}
.color-2{
order:1;
}
/*========================№2========================*/
.palette-box:nth-child(2) .palette-small{
display:flex;
flex-direction:column-reverse;
justify-content:space-between;
}
.palette-box:nth-child(2) .palette-small .color-1{
align-self:flex-start;
}
.palette-box:nth-child(2) .palette-small .color-4{
order:0;
align-self:flex-start;
}
.palette-box:nth-child(2) .palette-small .color-2{
align-self:flex-end;
order:0;
}
.palette-box:nth-child(2) .palette-small .color-6{
align-self:flex-end;
}
/*=======================#3==========================*/
.palette-box:nth-child(3) .palette-small{
display:flex;
justify-content:space-between;
flex-direction:row-reverse;
}
.palette-box:nth-child(3) .part:nth-child(1){
display: flex;
flex-direction: column;
justify-content: space-between;
order: 1;
}
.palette-box:nth-child(3) .part:nth-child(2){
display: flex;
flex-direction: column;
justify-content: space-between;
}
.palette-box:nth-child(3) .part:nth-child(2) .color-4{
order:-1;
}
/*=======================#4==========================*/
.palette-box:nth-child(4) .palette-small{
display:flex;
justify-content:space-between;
flex-direction:row-reverse;
}
.palette-box:nth-child(4) .part:nth-child(1){
display:flex;
order: 1;
}
.palette-box:nth-child(4) .part:nth-child(2){
display:flex;
flex-direction:column;
justify-content: space-between;
}
.palette-box:nth-child(4) .part .color-4{
align-self:normal;
}
/*
.color-1 - darkblue
.color-2 - lightblue
.color-3 - green
.color-4 - yellow
.color-5 - blood;
.color-6 - purple
.color-7 - violet
*/
слова подбираете чтобы матом не сказать? я предупреждал
У свойства align-self нет такого значения. Мини-браузер - умный и подставляет вместо вашего normal значение auto. А браузер на сервере проверки строгий - похоже игнорирует вашу запись вообще.
сработало так, спасибо. применялось свойство из первого блока ко всем color-4
.palette-small{
display:flex;
flex-direction:column;
justify-content:center;
}
.palette-small .color-3,.color-4:not(:last-child)