I can't figure out what is going on here. I have in my CSS media query specially for iphone 5:
@media only screen
and (min-device-width : 320px)
and (max-device-width : 568px) {
#some-div {
display: none;
}
}
I open the web page on my Iphone 6 and for some reason this media query kicks in and that div is hidden.
When I check my device's width on test site like: http://www.quirksmode.org/m/tests/widthtest_vpdevice.html It shows width/height of: 320/568.
What is the problem here and how it can be solved?
Thanks