Question

What's the default value of the flex-basis property?

#css #flexbox

Answer

The default value of flex-basis is auto, which means that the initial width of the item (or height, depending on flex-direction: row | column) is computed "automatically" based on the content size (plus whatever padding is set).

https://medium.freecodecamp.com/understanding-flexbox-everything-you-need-to-know-b4013d4dc9af#4bde

Learn

Author

xavi

Reviews
Last
next

Students 1