The display property is one of the most important CSS properties we use for layout. Most of us would have used
inline-block are also quite common. The new darling is definitely
flex, because it’s a display property that was created specifically for layout. The upcoming
grid (currently still being actively worked on) is another layout-specific property that we’ll soon have in our arsenal as well.
This post dives into the depthes of the CSS display property.
GIPHY App Key not set. Please check settings