Col
Last updated
Last updated
The Bootstrap column
component, implemented in Ruby.
bs_col(*args, &block)
Returns a bootstrap column containing content specified by a block. Also the column is customizable with the following options.
Optional options
sm
, md
, lg
, xl
, xxl
: Expects an Integer <= 12. This parameter set the size of the column by the given breakpoint
default
- Expects an Integer <= 12. default: 12
is equal to col-12
in bootstrap
order
, order_sm
, order_md
, order_lg
, order_xl
, order_xxl
: Expects an Integer <= 12. Set the order of the column by the given breakpoint
offset
, offset_sm
, offset_md
, offset_lg
, offset_xl
, offset_xxl
: Expects an Integer <= 12. Move columns to the right using offset parameter by the given breakpoint
align_self
- Expects start
, center
, end
. Align vertically within the column
HTML attributes This component accepts all the canonical like id
or class
.
returns
returns
returns