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