Grow your CSS skills. Land your dream job.

[Solved] Quirks when alternating between portrait & landscape

  • # January 7, 2013 at 7:09 pm

    I’m running into a couple of quirks when alternating between portrait and landscape modes on both my Android and iPhone devices.

    iPhone quirk
    When opening up a webpage in portrait at

    @media only screen and (max-width: 479px) {…}

    and then switching to landscape at

    @media only screen and (max-width: 767px) {…}

    the portrait mode stays stuck! even if I refresh the page. So the result is a blurry zoomed in view of the portrait mode.

    # January 7, 2013 at 8:05 pm

    Do you have a link or example to show us?

    # January 7, 2013 at 8:36 pm

    are you using a meta viewport tag in your head?

    # January 8, 2013 at 12:31 pm

    Found the answer, just needed:

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.

*May or may not contain any actual "CSS" or "Tricks".