# ComboStrap UI - Container

A container:

• positions the content in the center
• and limits the horizontal width (adjusted by screen sizes)

It's used in layout component such as:

The page layout holy and median have their main content by default contained.

## Syntax and example

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

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


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