https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Flexible_Box_Layout
https://www.w3schools.com/css/css3_flexbox.asp
https://www.smashingmagazine.com/2011/09/css3-flexible-box-layout-explained/
There were even more resources I found that give you idea how to understand and use flex layouts. Some give visual example on what they are showing, which is more helpful to me and I am sure many more.