Why Flexbox?

Flex Container

Justify-Content

Now that the divs snap across the screen on this horizontal access, we can play around with them some more. The following are some commands to add within the css div box to add additional functionality:

Wrapping

There are two parts to wrapping that I will discuss: a layout change so that the data becomes columns when the screen becomes smaller, and applying wrapping to the flexboxes so that only a certain amount of boxes fit on the screen at a time.

Conclusion

There are plenty more features to familiarize yourself with, so I recommend looking at some of the attached resources below!

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store