When creating site layouts, you often have to solve a number of trivial tasks related to the alignment and placement of blocks on the page.
There are a huge number of solutions to these problems, but they often require a large number of lines of code and are not universal. CSS3 introduced the Flexbox specification to make life easier for developers when it comes to solving page layout tasks.
You can read more about what Flexbox is in our article.