Column

A grid column. Columns must be placed inside a [bsv-row], usually inside a [bsv-container].

Grid columns example
Grid columns example

Example

[bsv-container]
[bsv-row]
[bsv-column size="12" md="6"]Left[/bsv-column]
[bsv-column size="12" md="6"]Right[/bsv-column]
[/bsv-row]
[/bsv-container]

Format

[bsv-column parameter="value" ...]your content here[/bsv-column]

Parameters

Parameter Description Default
size Base column span from 1 to 12. Leave empty for an auto-width bsv-col. 12
sm Span from 1 to 12 at the sm breakpoint. empty
md Span from 1 to 12 at the md breakpoint. empty
lg Span from 1 to 12 at the lg breakpoint. empty
xl Span from 1 to 12 at the xl breakpoint. empty
xxl Span from 1 to 12 at the xxl breakpoint. empty
offset Offset from 0 to 11. empty
class Extra CSS classes, space-separated. empty

Invalid spans are ignored; an invalid base span falls back to 12.

Last updated: