📜  屏幕方向 css 代码示例

📅  最后修改于: 2022-03-11 14:47:26.192000             🧑  作者: Mango

代码示例4
@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;
  }
}