DEV Community

Discussion on: You Probably Don't Need Media Queries Anymore

Collapse
 
tracygjg profile image
Tracy Gilmore • Edited

This article makes many valuable points but one place I think media queries retain a role is in the detection of pixel density. Relying on screen dimensions alone is not always sufficient to identify the most appropriate screen presentation.

Collapse
 
kathryngrayson profile image
Kathryn Grayson Nanz

That's a very fair point! I think there are still specific use cases where you might want media queries - but in general I think they shouldn't be the first thing we reach for anymore.

I'm not a fan of all-or-nothing approaches, which is why this article is called "You Probably Don't Need Media Queries" and not "Stop Using Useless Media Queries Immediately!!!" Only a Sith deal in absolutes 😉 There are exceptions to every rule, so I agree it's unwise to throw out a tool entirely.

Some comments have been hidden by the post's author - find out more