Adapt.js is a lightweight (947 bytes minified) JavaScript file that determines which CSS file to load before the browser renders a page. It is worth noting this is a proposed, not prescribed, approach to a problem with multiple solutions.
Included is a way to make the whole thing dynamic, which loads up new CSS files when the window is resized. Very nice, especially the way you define the CSS files to be used for specific width-ranges.