Flex

Implements a flex container that makes use of the common layout APIs defined in Feo.css.

Implementation

<div class="flex">
  ...
</div>

API

Custom propertyDefaultDescription
--layout-gap0Sets the max-width of the targeted element
--layout-directionrowSets the flex-direction of the targeted element
--layout-aligncenterSets the align-items of the targeted element

Utility classes

Class nameRequired?Description
--gap-{z}Controls the --layout-gap API
--column/--rowControls the --layout-direction API
--start/--end/--center/--stretchControls the --layout-align API