Each column has a gap equal to the variable $column-gap
, which has a default value of 0.75rem
.
Since the gap is on each side of a column, the gap between two adjacent columns will be twice the value of $column-gap
, or 1.5rem
by default.
Columns gap
Customize the gap between the columns
Default gap #
Default gap
Default gap
Default gap
Default gap
Gapless #
If you want to remove the space between the columns, add the is-gapless
modifier on the columns
container:
First column
Second column
Third column
Fourth column
You can combine it with the is-multiline
modifier:
is-one-quarter
is-one-quarter
is-one-quarter
is-one-quarter
is-half
is-one-quarter
is-one-quarter
is-one-quarter
Auto
Variable gap #
You can specify a custom column gap by appending one of 9 modifiers on the .columns
container.
-
is-0
will remove any gap (similar tois-gapless
) -
is-3
is the default value, equivalent to the0.75rem
value -
is-8
is the maximum gap of2rem
Additionally, .is-variable
should be added on the .columns
container.
Breakpoint based column gaps #
You can define a column gap for each viewport size:
is-variable is-2-mobile is-0-tablet is-3-desktop is-8-widescreen is-1-fullhd
Column
Column
Column
Column
Column
Column
This page is open source.
Noticed a typo? Or something unclear?
Improve this page on GitHub