Home > @uniformdev/design-system > mq
mq() function
Media Query Helper Function
Signature:
Parameters
Parameter | Type | Description |
---|---|---|
size | BreakpointSize | The responsive breakpoint value |
Returns:
string
{} - compiled media query e.g. (min-width: 640px)
Example
${mq('md')} { background: red; }