Home > @uniformdev/design-system > cq

cq() function

Container Query Helper Function

Signature:

Parameters

ParameterTypeDescription
sizestringThe responsive breakpoint value

Returns:

string

{} - compiled container query e.g. (min-width: 640px)

Example

${cq('300px')} { background: red; }