** component) |
| visibility | string | visible | Whether to display the box containing an element. The invisible box occupies layout space. (To remove the box, set the **display** attribute to **none**.) Available values are as follows:
- **visible**: The element is visible.
- **hidden**: The box is hidden but still takes up space.
If both **visibility** and **display** are set, only **display** takes effect.|
| flex | number \| string | - | How to divide available space of the parent component for each child component.
You can set one, two
5+, or three
5+ values for this style.
Set one value in either of the following ways:
- A unitless number to set **flex-grow**.
- A valid width value
5+ to set **flex-basis**.
Set two values
5+ in the following ways:
The first value must be a unitless number used to set **flex-grow**. The second value must be either of the following:
- A unitless number to set **flex-shrink**.
- A valid width value to set **flex-basis**.
Set three values
5+ in the following ways:
The first value must be a unitless number used to set **flex-grow**. The second value must be a unitless number used to set **flex-shrink**. The third value must be a valid width value used to set **flex-basis**.
This style takes effect only when the container is any of the following components: **\
**, **\
**, **\**, **\**, and **\5+**.|
| flex-grow | number | 0 | How much a child component will grow. The value specifies allocation of the remaining space on the main axis of the parent component. Size of available space = Container size - Total size of all child components. Value **0** indicates that the child component does not grow.
This style takes effect only when the container is any of the following components: **\**, **\
**, **\**, **\**, and **\5+**.|
| flex-shrink | number | 1 | How much a child component will shrink. The shrink occurs only when the sum of default child component widths is greater than that of the parent component. Value **0** indicates that the child component does not shrink.
This style takes effect only when the container is any of the following components: **\**, **\
**, **\**, **\**, and **\5+**.|
| flex-basis | <length> | - | Initial length of the flex item on the main axis.
This style takes effect only when the container is any of the following components: **\**, **\
**, **\**, **\**, and **\5+**.|
| align-self6+ | string | - | How items are aligned along the main axis of the container. The setting overwrites the **align-items** setting of the container and is valid only when the container is **\** or **\
**. Available values are as follows:
- **stretch**: Items are stretched to the same height or width as the container along the cross axis.
- **flex-start**: Items are packed toward the start edge of the cross axis.
- **flex-end**: Items are packed toward the end edge of the cross axis.
- **center**: Items are packed toward the center of the cross axis.
- **baseline**: Items are packed toward the baseline of the cross axis.|
| position | string | relative | Positioning type of an element. Dynamic changes are not supported.
- **fixed**: The element is positioned relative to the entire UI.
- **absolute**: The element is positioned relative to the container. The setting is valid only when the container is **\