Skip to content

Instantly share code, notes, and snippets.

@darrinhenein
Created February 10, 2012 14:54
Show Gist options
  • Save darrinhenein/1790039 to your computer and use it in GitHub Desktop.
Save darrinhenein/1790039 to your computer and use it in GitHub Desktop.
Media Query Sample
<link rel="stylesheet" type="text/css" media="screen and (max-device-width: 320px)" href="mobile.css" />
<link rel="stylesheet" type="text/css" media="screen and (max-device-width: 768px)" href="tablet.css" />
<link rel="stylesheet" type="text/css" media="screen" href="desktop.css" />
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment