The @custom-media CSS feature is now available behind a flag in Firefox Nightly, allowing developers to define reusable media query aliases. The syntax enables creating named media queries like --motionOK for prefers-reduced-motion checks, making CSS more maintainable. Open Props library already includes around 45 ready-to-use custom media queries.
Sort: