function
new-breakpoint
Returns a media context (media query / grid context) that can be stored in a variable and passed to media()
as a single-keyword argument. Media contexts defined using new-breakpoint
are used by the visual grid, as long as they are defined before importing Neat.
Arguments
Name | Type | Default | Description |
---|---|---|---|
query | List | - | A list of media query features and values. Each If there is only a single The number of total columns in the grid can be set by passing |
total-columns | Number (unitless) | $grid-columns | Number of columns to use in the new grid context. Can be set as a shorthand in the first parameter. |