Answer the question
In order to leave comments, you need to log in
Flexbox - how to align elements?
Demo
How to align block #3 and #4 on the same level with blocks #1, 2, 5?
In this case, blocks 1,2,5 must remain in the center.
Answer the question
In order to leave comments, you need to log in
Alternatively, add another div to the container and write the properties like this
https://codepen.io/menethil/pen/bGNMKa
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question