CSS Flex Property And its Example
At this point there’s not much advantage to using Flexbox. We have the same look we had before initiating the Flexbox model. The Flexible Box Module, usually referred to as flexbox, was designed as a one-dimensional layout model, and as a method that could offer space distribution between items in an interface and powerful alignment capabilities
Apart from getting a responsive gallery for free, the other advantages of using Flexbox come from the alignment options.
Green div with more content.
resize the browser to see effect.12345678