UX Lift logo

@custom-media | CSS-Tricks

CSS @custom-media lets you define global media‑query aliases, supporting booleans, nesting, and range syntax, but isn’t JavaScript‑accessible and has limited browser support; use @supports or PostCSS.

More from CSS Tricks

© 2026. Made in Manchester by Matt Kevan.

Privacy

Cookies

Contact