DEV Community

Andrew Jackson
Andrew Jackson

Posted on

Query Mind Blown

Welp mind was blown with matchMedia in #javascript. Three years in and this is the first time actually seeing this. https://developer.mozilla.org/en-US/docs/Web/API/Window/matchMedia

Why don't more people talk about it?

Discussion (2)

Collapse
jonathanburnhill profile image
Jonathan Burnhill

I've seen it about, but not played with it .

It looks exciting what uses spring to mind for you to use it?

Collapse
andrewzos profile image
Andrew Jackson Author

It looks like it could be a functional way to add in media queries without the humbug of media queries.