Gerillass 2.0.0 is out. It renames every utility function and replaces two mixins with one, so read the migration guide before you upgrade.
Gerillass
v2.1.0Type: Function
validateBreakpoint();
Resolves a breakpoint name to its width, passing other values through.
Arguments
| Name | Type | Description |
|---|---|---|
$value | string | number | Accepts a key from $map-for-breakpoints, or a raw length. |
Examples
A breakpoint name used as a length.
.container {
max-width: validateBreakpoint("large");
margin: 0 auto;
}.container {
max-width: 992px;
margin: 0 auto;
}