Flexbox is also known as CSS Flexible Box. This is the new layout model in CSS3 which helps the website to make it responsive. Flex box helps the website to behave according to the size of the window. It mainly deals with how the elements will be arranged, such as a row, column, justify-content, align-item, align-content, etc.
We use cookies to ensure you have the best browsing experience on our website. By using our site, you
acknowledge that you have read and understood our
Cookie Policy &
Privacy Policy.
Flexbox is also known as CSS Flexible Box. This is the new layout model in CSS3 which helps the website to make it responsive. Flex box helps the website to behave according to the size of the window. It mainly deals with how the elements will be arranged, such as a row, column, justify-content, align-item, align-content, etc.
Let's understand it with the help if an example :
Following will be the output of above code :