I applaud you for implementing Flexbox which is a fairly recent addition to CSS and would encourage you to learn more about it. You shouldn't have to call display: flex more than once or twice if you are implementing its full potential. To give you an idea here are a few examples on CodePen:
I applaud you for implementing Flexbox which is a fairly recent addition to CSS and would encourage you to learn more about it. You shouldn't have to call display: flex more than once or twice if you are implementing its full potential. To give you an idea here are a few examples on CodePen:
Flexbox Demo Flexbox Demo
Right now your images aren't quite stacking as I make the browser window smaller:
Heres a few resources to learn more about Flexbox:
Codecademy's Course on Responsive Design CSS-Tricks Guide on Flexbox Flexbox Course