DEV Community

Khoi
Khoi

Posted on

Let's learn about Flexbox

What is flexbox?

Flexbox is a relatively new way of manipulating elements in CSS, and its debut was revolutionary.

How to create a box and using flexbox:

You can look at the code below
Image description
Then it will display on your screen like this (There are some note for you to know what we code will look like):
Image description

I found this man on DEV Community show us a picture of some examples about how flexbox work:

Image description

Source: https://dev.to/arafat4693/flexbox-justify-content-visual-representation-4c22

Top comments (0)