Flex Grid
Last updated
Was this helpful?
Last updated
Was this helpful?
Learn how to quickly build complex responsive layouts using the Foundation Flex Grid.
foundation-flex-grid file
First you need to include foundation-flex-grid
in your project <PROJECT_NAME>/src/assets/scss/app.scss
flexbox variable
Activate the flexbox grid system on your settings <PROJECT_NAME>/src/assets/scss/_settings.scss
🚨 Now for building your layout.
Challenge:
Create evenly spaced blocks and get elements to line up easily. You can define column widths at the row-level, instead of the individual column level.
Challenge:
Shift columns around between our breakpoints to dictate how responsive layouts are viewed. For this you can use the CSS classes small-order-x
and medium-order-x
Let’s build our first video games list!For this we need some datas in json file <PROJECT_NAME>/src/data/games.json
Change The game list for another one like