What are the Flexbox advantages compared to floats?

Experience Level: Junior
Tags: CSSFlexbox

Answer

Here are some advantages that Flexbox can do:

  • perpendicular centering of items within a parent element
  • making all the children of a container take an equal extent of an available height or width
  • making all columns in a compound layout embrace the same height even if they contain a different amount of content
  • pushing other items to sides
  • centering of items is finally easy
Related Flexbox job interview questions

Comments

No Comments Yet.
Be the first to tell us what you think.
Flexbox
Flexbox

Are you learning Flexbox ? Try our test we designed to help you progress faster.

Test yourself
25 Flexbox questions that will help you to nail your job interview
25 Flexbox questions that will help you to nail your job interview

Are you learning Flexbox ? Try our test we designed to help you progress faster.

Test yourself