Flexbox for a long page.
Hello everyone! I am a beginner and I still have not understood what is the best way to use flexbox if I want to have a long main page. If i have a quite long main page should I have some containers (5-6) for (navigation, main (if this main is long), sections, footer) and then display :flex for every container? Or what is the right way to do it? All examples at Mdn or W3schools are made only for one container.
4 Replies
there is no "right" way to do it
it's usually depending on what you want and need
Thank you)
you're welcome
if you want, you can design your layout and share it here, and someone will tell you if flexbox or grid will be better
if you need a tool to quickly draw it, try excalidraw
or paint, both work
ок, thank you