How to change layout on website from portrait to landscape

Discussion in 'HTML & Website Design' started by haryoko.hardjo, Aug 18, 2014.

  1. #1
    Hello webmasters, how do i change the layout orientation on website from portrait to landscape?
    Thanks in advance
     
    haryoko.hardjo, Aug 18, 2014 IP
  2. cadavr

    cadavr Active Member

    Messages:
    97
    Likes Received:
    21
    Best Answers:
    1
    Trophy Points:
    90
    #2
    turn your ipad the other way?
     
    cadavr, Aug 18, 2014 IP
  3. KewL

    KewL Well-Known Member

    Messages:
    245
    Likes Received:
    16
    Best Answers:
    3
    Trophy Points:
    128
    #3
    @media only screen and (min-device-width : 480px) and (orientation : landscape) {

    }

    You can add orientation to your media query if that's what you're asking.
     
    KewL, Aug 20, 2014 IP