ComboStrap UI - Container

1 - About

container implementation of Bootstrap.

Container are used to limit the horizontal width. (doc)

It's most used in a header or footer

3 - Attributes

A container is a superset HTML element and is therefore ready for styling

A container has an automatic margin that centers it. You should then not set the margin, otherwise it will be located to the left

3.1 - width

You can wrap the whole content of your page in a container with a width to make reduce your page width.

Example:

<container width="600px">

4 - Example

4.1 - Custom Container

A container with a light background color and a little bit of padding

<container background-color="light" class="p-3">
Oh my Container !
</container>
Oh my Container !