query
function is great for a shorthand declaration of inline media query in CSS. This function support the same call signature as the useResponsiveQuery
hook, but unlike the mentioned hook it returns a plain media query string:from
property on query
: from
and to
properties: