I would somehow like to have different grid gutter widths using the Bootstrap SASS variable $grid-gutter-width
, but assigning it different values within media queries does not work. I know this is not possible, but any help using mixins or loops is appreciated.
Example of what does not work, but points out what I want to achieve:
$grid-gutter-width: 30px !default;
@media ($screen-sm-min) {
$grid-gutter-width: 50px;
}
@media ($screen-md-min) {
$grid-gutter-width: 70px;
}
Does anyone know how to achieve this in a smart way?