HTML5 Please

media queries

Safe to usecss

Media Queries (MQ) work on all modern browsers.

Verdict
Safe to use
Category
CSS features
Browser support
Can I Use
Works in
IE9+

Should you use media queries in 2026?

IE 8 unfortunately does not understand media queries on features, which means none of your CSS within media queries will be parsed by them. We recommend you make peace with that, but if you absolutely cannot, then you can use Respond.js but be aware it has performance overhead that slows down page load.

If you choose a mobile first approach, you'll be targeting smallest screens first, then the different media queries will take effect as the window/device size increases. But if the browser doesn't support media queries and you don't use a polyfill, then the 'mobile first' styles will be applied to IE 8. You can serve a separate stylesheet for IE to help with this.