DEV Community

Cover image for CSS FLEXBOX
naima shaikh
naima shaikh

Posted on

CSS FLEXBOX

What is CSS Flexbox?

  • It's a better approach to create layouts in HTML and to align HTML elements properly.
  • Flexbox is use to distribute the space properly.
  • Through the spacing distributions it is easy to create responsive website.
  • In Flexbox , we can align elements in 2 ways (i-e Horizontal and vertical).
  • What I like about Flexbox is that it let's you make UI in a standard way. For example instead of margins, You can space between the flex childs and that will work smoothly across different screens.
  • The vertical and horizontal align is quite easy. The wrapping od elements !

Top comments (0)