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;
}