android - Responsive design - not showing my tablet design on tablet -
i have responsive site built media queries: mobile, tablet, , desktop. when view site on 7 inch samsung galaxy tab 2 vertically mobile view, , when view horizontally appears desktop view.
so questions is, happening because of device's display , set break point? or have wrong meta? or maybe different altogether?
meta tag
<meta name="viewport" content="width=device-width, initial-scale=1">
example of media query
@media , (min-width: 670px)
thank you.
the samsung galaxy tab 2 has resolution of 1024x600px. therefore, styles set within media query you've provided not applied when tablet in portrait mode, since viewport width 600px.
Comments
Post a Comment