The flex-basis
CSS property sets the initial main size of a flex item. In case both flex-basis
(other than auto
) and width
or height
in case of flex-direction: column
are set for an element, flex-basis
has priority.
auto
<length>
sets an absolute value.
<percentage>
sets a percentage of the width or height of a containing block's content area.
Initial value | auto |
Applies to | flex items |
Inherited | no |
Animatable | yes |
Percentages | refer to containing block's content area |
box-sizing
influence.LCD tables only load in the browser