I have received specific measurements from a customer for a customized grid layout, and I am unsure of how to implement it. Here are the measurements provided:
**Width: 320px**
Sides: (26px) (2 sides)
Column: (52px) (4 columns)
Gutter: (20px) (3 gutters)
**Width: 768px**
Sides: (76px) (2 sides)
Column: (33px) (12 columns)
Gutter: (20px) (11 gutters)
**Width: 1024px**
Sides: (72px) (2 sides)
Column: (55px) (12 columns)
Gutter: (20px) (11 gutters)
**Width: 1280px**
Sides: (74px) (2 sides)
Column: (76px) (12 columns)
Gutter: (20px) (11 gutters)
After some research, I discovered that Bootstrap 4 allows for customization of its grid system:
I noticed that it is possible to customize the gutter width:
$grid-gutter-widths: (
xs: $grid-gutter-width-base,
sm: $grid-gutter-width-base,
md: $grid-gutter-width-base,
lg: $grid-gutter-width-base,
xl: $grid-gutter-width-base
)
And also the container widths based on breakpoints:
$grid-breakpoints: (
sm: 480px,
md: 768px,
lg: 1024px
);
$container-max-widths: (
sm: 420px,
md: 720px,
lg: 960px
);
However, I could not find a way to customize the number of columns. Any suggestions on how to achieve this?