kilianvalkhof.com
Detecting media query support in CSS and JavaScript
5
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 ... Read full article