Display content to a reasonable maximum width.
container_open( [ bool $fluid = false, array $options = [] ] ) : string
$fluid bool Optional Container without maximum width.
$options array Optional Additional options.
Name | Type | Default | Description |
---|---|---|---|
class | string | '' | Class for wrapper. |
attributes | array | [] | Array of custom attributes. |
echo container_open();
// ...
echo container_close();
HTML output:
<div class="container">
</div>