Skip to main content

FlexboxItem

Typeobject
Backlinks1

This property refers to the child elements within a flex container, which will be controlled by the Flexbox layout model. The style and layout of child elements can be adjusted by setting corresponding properties on the flex container.

PropertyTypeRequired
classstringRequired
positionPositionRequired
flexBasisnumberRequired

class​

Required

Type

string

Value

constant: the value of this property must be equal to:

"flexboxItem"

position​

Required

Description

no description

flexBasis​

Required

Description

This property is used to control the growth or shrinkage ratio of child elements in the allocation of remaining space within a flex container. The values of flex-grow and flex-shrink for all Flex items are the same, and based on the size of the remaining space in the container, flex items will automatically adjust its size to grow or shrink base on this property value.

Type

number