I have built a few mobile responsive websites using media queries. They look great on all sizes on desktop, but when looking at them on my iPhone, the full-width site is showing instead of the smaller version. Am I missing something?
Thanks everyong. I added that code justdan, but the thing that changed my problem was changing from “max-width” to “max-device-width”. I guess I didn’t understand the difference between the two.
I ended up just copying the queries I had written for smaller screens, putting them at the bottom and changing to max-device-width to target phones and tablets. If there’s a better way I’m all ears.
Thanks again
Author
Posts
Viewing 3 posts - 1 through 3 (of 3 total)
The forum ‘CSS’ is closed to new topics and replies.