Home > @uniformdev/design-system > supports

supports() function

Media Query Helper Function

Signature:

Parameters

ParameterTypeDescription
cssPropstringThe css property you want to check support

Returns:

string

{}

Example

${supports('display: grid)} { display: grid; }