The forums ran from 2008-2020 and are now closed and viewable here as an archive.
Home › Forums › CSS › How far can I push media queries?
So, from the research I’ve done, it looks like media queries are intensly powerful. But… I’d like to know how powerful.
Can I use a totally differenty style sheet based on screen resolution? Can I strip out jQuery scripts that won’t work on mobile?
I basically want a whole new site when someone is on a phone… without having a different url.
Possible?
Well it won’t be a whole new site just the **same content ** styled differently.
Is that what you are after?
JQuery elements?
Oh….I guess you could add a viewport size checker function as part of each jquery interaction but that seems like a lot of work.
I quick google search turned up this: https://github.com/paulirish/matchMedia.js/