compass sass - Susy $container-style static -- changing to magic -
question
is possible inverse of susy: fluid layout second breakpoint -- or, in other words, have susy grid static
until break , magic
beyond point?
i admit, i'm not making mobile-ready site. instead, want use of fluid elements of grid system different monitor sizes , 'turn off' functionality when browser window small.
by reading documentation, think should set global variable such
$container-style: static;
and @ specific @at-breakpoint
this
@at-breakpoint(xx) { @include set-container-width(yy, magic)
however, has no (discernible) effect.
research far
in set-container-width, see $container-style argument
<$style>: optionally return static lengths grid calculations. default: $container-style.
does mean can got to static (from 'magic' or 'fluid').
check container-related css output. difference between 'static' container , 'magic' 1 whether use width
or max-width
. if have set container width 30em
(for example), adding max-width of 50em
won't change anything. have remove previous width setting. can either more specific media-queries, or adding width: auto;
along new container-width setting.
Comments
Post a Comment