DEV Community

Andrew Jackson
Andrew Jackson

Posted on

1 1

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?

Top comments (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
 
sonandrew profile image
Andrew Jackson

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

Postmark Image

Speedy emails, satisfied customers

Are delayed transactional emails costing you user satisfaction? Postmark delivers your emails almost instantly, keeping your customers happy and connected.

Sign up