I want to have a fluid grid that is generally 80% the width of the screen, with a maximum width of 1440px, but below 768px is 100% the width of the screen instead of 80%.
With just one setting for "container", I'm not sure the best way to approach this, or how possible it is.
My current settings are:
$susy: (
columns: 12,
container: 80%,
column-width: 20rem,
gutters: $gutter/10rem,
math: fluid,
output: float,
gutter-position: inside-static
);
I tried to override those settings conditionally based on breakpoints like this:
@include breakpoint($mini) {
$susy: (
container: 100%
);
}
@include breakpoint($huge) {
$susy: (
container: 1440px
);
}
but that wouldn't work because that's not how breakpoints work.
Is there a way to achieve this kind of layout with Susy? It's a fairly common pattern as far as I have seen (hence my being tasked with acheiving it), and I don't want to need to override every time there is a container invoked.