Orientation Lock

0
0
@media screen and (min-width: 320px) and (max-width: 767px) and (orientation: landscape) {
  html {
    transform: rotate(-90deg);
    transform-origin: left top;
    width: 100vh;
    overflow-x: hidden;
    position: absolute;
    top: 100%;
    left: 0;
  }
}

Sent in by Andreas Gotfredsen.

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.