CSS – Intro to Flexbox Part 2

This is the continuation of the post – css intro to flexbox part 1. Part 1 mostly focused on explaining conceptual things. In this post, I am going to focus on showing examples for each flexbox property. Note that all the other common css code is in part 1. I wrote necessary code only for each property. justify-content As explained in part 1 post, justify-content tells you how the flex items should be aligned along the main axis. justify-content: center justify-content:center aligns the flex items in the middle of the container but doesn’t do anything for the space between the READ MORE