Answer the question
In order to leave comments, you need to log in
An example of nested blocks - which approach for css layout is considered more appropriate?
If you use flex everywhere, it will turn out somehow difficult.
.block1 {
display:flex;
}
.block3{
flex:1;
display:flex;
flex-direction: column;
justify-content: space-between;
}
.block4, .block5{
display:flex;
justify-content: space-between;
}
Answer the question
In order to leave comments, you need to log in
If you use flex everywhere, it will turn out somehow difficult.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question