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
ἔρως
ἔρως3mo ago
there is no "right" way to do it it's usually depending on what you want and need
Sveta
Sveta3mo ago
Thank you)
ἔρως
ἔρως3mo ago
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
Sveta
Sveta3mo ago
ок, thank you
Want results from more Discord servers?
Add your server