📜  页面旋转 css 代码示例

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

代码示例1
body{
    margin:0;
    overflow:hidden;
}
.wrapper{
    transform: rotate(90deg);
    transform-origin:bottom left;
    
    position:absolute;
    top: -100vw;
    left: 0;
    
    height:100vw;
    width:100vh;
    
    background-color:#000;
    color:#fff;

    overflow:auto;
}