bs_col {bsTools}R Documentation

Create a Bootstrap col div

Description

Create a Bootstrap col div

Usage

bs_col(
  ...,
  size = NULL,
  align_self = NULL,
  order = NULL,
  offset = NULL,
  margin = NULL,
  custom_class = NULL
)

Arguments

...

A string or strings of HTML content to include in the col div.

size

An integer, 1-12, determines how many column units a particular column takes up.

align_self

A string, likely one of "start", "center", or "end", that gets appended to "align-self-".

order

An integer, sets the order of the column in a row.

offset

A string, an offset value (ex. "md-3") to append to the "offset-" class.

margin

A string, a valid Bootstrap margin class (ex. "me-auto")

custom_class

A string, allows custom classes to be appended to the col class

Value

A string of HTML.

Examples

bs_col(p("Col 1"))

[Package bsTools version 0.1.0 Index]