跳到主要内容

eo-flex-layout

<eo-flex-layout>
Alias: <containers.flex-layout>

flex 布局容器。

Examples

Justify Content

Playground

Flex Direction

Playground

Properties

NameDescriptionTypeDefaultRequired
flexDirection

定义 flex-direction

CSSProperties["flexDirection"]
justifyContent

定义 justify-content

CSSProperties["justifyContent"]
alignItems

定义 align-items

CSSProperties["alignItems"]
alignContent

定义 align-content

CSSProperties["alignContent"]
flexWrap

定义 flex-wrap

CSSProperties["flexWrap"]
gap

定义 gap

string