Template:Flex/end
Jump to navigation
Jump to search
To be used in conjunction with Template:Flex/start to create flex-box containers.
Documentation
Creates a flexbox layout container.
{{Flex/start}}
{{Flex/end}}
Usage
Details
A flexible container to dynamically align elements based on available width.
Parameter | Description | Type | Status | |
---|---|---|---|---|
content | content 1 | The content to put in the flex container. Can also be passed as the first positional (nameless) parameter. | Content | suggested |
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!!