Sorry to be harsh.I understand you are just starting.Checkout this to learn flexbox: https://flexboxfroggy.com/Then look for css grid.https://learncssgrid.com/
— Yes, it’s totally possible. But is a modern way to solve.
— Why do you want old way?
— New way is both easier and better
— You don't have to just use display:flex on parent div and then set respective positions
— Just watch a youtube video on flexbox
— Or flexboxfroggy.com