JavaScript Articles, Tutorials & News

Detecting media query support in CSS and JavaScript

Recently I needed a way to detect support for a media query in CSS and Javascript. To detect if a browser supports a certain CSS feature, you can use @supports () { … }, but that doesn’t work for media queries. In this article I’ll show you how you can …

Read more »