Hello guys I am using @media only screen and (max-width: 320px) (320 is not the only one is use) within CSS to assign different styles for mobile devices. However I find it troublesome when I actually check same website on the phone. While previewing it in Firefox on my desktop PC responsive preview, it looks like this:
However when I check it on phone it looks like this:
I understand that mobiles have higher resolution than 320 (which is applied on both preview screens). How do I reach results I want? (pic 1)
Another question is, is it safe to use vw and vh units for mobiles?