The demo project for a CSS Grid/Flexbox presentation, enjoy!
Click here to check out the slide deck.
There are two demonstrations in the project, one for Flexbox and another for grid. When viewing either, open up your browsers development tools to tinker with the CSS properties. To learn more about either check out the following resources:
- http://cssgridgarden.com/
- https://css-tricks.com/snippets/css/complete-guide-grid/
- http://gridbyexample.com/
- Clone or download repo
- Make sure to have Node.js and yarn (
npm i -g yarn
) - Run
yarn
in the project directory to install dependencies - Run
yarn dev
to launch local development server - Refer to
grid.html
orflex.html
for each example, along with their corresponding stylesheets by the same names in the./sass/
directory. - Enjoy!