テンプレート:Flex/start
ナビゲーションに移動
検索に移動
To be used in conjunction with Template:Flex/end to create flex-box containers.
Documentation
[purge]
Creates a flexbox layout container.
{{Flex/start}}
{{Flex/end}}
Usage
Details
A flexible container to dynamically align elements based on available width.
パラメーター | 説明 | 型 | 状態 | |
---|---|---|---|---|
content | content 1 | The content to put in the flex container. Can also be passed as the first positional (nameless) parameter. | 内容 | 推奨 |
Example
there's a box here
and another!!
all spread out or something
who knows really
- Floating flex containers!
there's a box here
and another!!
all spread out or something
who knows really
The following syntax is generally considered legacy but still supported; when possible, use the /start and /end fragments, as it makes things a little nicer to edit and makes syntax highlighting less screwy.
there's a box here
and another!!