Answers for "how to adjust screen orientation html css"

CSS
0

screen orientation css

@media screen and (min-width: 0px) and (max-width: 1204px) and (orientation: landscape) {
  html {
    transform: rotate(-90deg);
    transform-origin: left top;
    width: 100vh;
    overflow-x: hidden;
    position: absolute;
    top: 100%;
    left: 0;
  }
}
Posted by: Guest on September-25-2021

Code answers related to "how to adjust screen orientation html css"

Browse Popular Code Answers by Language