Skip to content

Instantly share code, notes, and snippets.

@eighteyes
Created January 10, 2013 01:13
Show Gist options
  • Save eighteyes/4498558 to your computer and use it in GitHub Desktop.
Save eighteyes/4498558 to your computer and use it in GitHub Desktop.
Media query to load phone size CSS for phablets ( phone + tablet ) Nexus 7, Note 800px wide Viewport tag included.
<meta name="viewport" content="initial-scale=1.0, width=device-width, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no, target-densityDpi=medium-dpi">
@media only screen and (min-width:240px) and (max-width: 720px), screen and (-webkit-min-device-pixel-ratio : 1.5 ) and (max-device-width:800px)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment