Container - MikaBerglund/Blazor-Bootstrap GitHub Wiki

Container Component

The Container component is the foundation for many layout configurations in Bootstrap.

Parameters

Name Type Description
Type ContainerType The type of container.

Related Components

The following components are typically used with the Container component.

Examples

Code samples for different kinds of containers in Bootstrap. See ContainerType for details on different types.

Basic Containers

Shows you how to create the two basic containers.

<Container>Fixed Width (default)</Container>
<Container Type="ContainerType.FixedWidth">Fixed Width</Container>
<Container Type="ContainerType.Fluid">Fluid</Container>

Responsive Containers

Bootstrap also support responsive containers.

<Container Type="ContainerType.SM">SM</Container>
<Container Type="ContainerType.MD">MD</Container>
<Container Type="ContainerType.LG">LG</Container>
<Container Type="ContainerType.XL">XL</Container>
⚠️ **GitHub.com Fallback** ⚠️