Creating a 2-column 2-row flexbox structure
Hi there, how can I create a 2-column 2-row flexbox structure? Here's a pic of what I mean, and also the code of what I have so far: https://codesandbox.io/s/2-column-2-row-pnk4rw?file=/styles.css
2 Replies
Use grid? 😄 It would be the right tool for this, imo.
sidenote: don't use headings for visual changes, only semantic meaning. If you want small titles make a class for em. I realize this is just a demo but
I would honestly use/learn grid BUT if you really wanted to use flex I would just change the dom though and add another container for new row
thank you!