Jan 6, 2012

Different Stylesheets for Differently Sized Browser Windows

Load a different .css file (stylesheet) based on the min and/or max display resolution on a device:

<link rel='stylesheet' media='screen and (min-width: 701px) and (max-width: 900px)' href='medium.css' />


source

No comments: