Custom media queries
The @custom-media CSS at-rule names a media query, which you can reuse in multiple @media rules.
Status
Limited availability
MDN documentation
Specifications
Browser support
- Chrome ❌ See crbug.com/40781325
- Chrome Android ❌ See crbug.com/40781325
- Edge ❌ See crbug.com/40781325
- Firefox ❌
- Firefox for Android ❌
- Safari ❌ See webkit.org/b/233820
- Safari on iOS ❌ See webkit.org/b/233820
Developer votes
Do you need this feature?
Let us know by leaving a 👍 reaction on the feedback issue. Don't forget to also leave a comment explaining your specific use case.
View as JSON | Edit this feature | Report an issue | Web-features entry: source, dist