Adapt.js serves CSS based on screen width.
Filed under miscellaneousShow All
ADAPT.JS - ADAPTIVE CSS
For more information, see...
This is dual licensed under GPL and MIT.
Feel free to use it however you like. :)
Tiff Fehr, for offering feedback when this was just a gist.
Mathias Bynens, for pointing out document.head is faster than document.getElementsByTagName('head') for newer browsers.
Joey Lomanto, for reminding me to account for scrollbar width.
Peter Schott, for testing on IE7 in Windows 7 Phone.
R.A. Ray, for pointing out "initial-scale=1" is needed.
Jason Beaird & Skully78, for reporting a bug with IE6-IE8.