📜  bootsrap 仅查看横向 - CSS 代码示例

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

代码示例1
@media (orientation:landscape) {
    .hide-on-landscape {
        display: none;
    }
}

@media (orientation:portrait) {
    .hide-on-portrait {
        display: none;
    }
}