共计 132 个字符,预计需要花费 1 分钟才能阅读完成。
移动端横竖屏样式转换
横屏
@media all and (orientation : landscape) {h1{color:red}
}
竖屏
@media all and (orientation : portrait){h1{color:yellow}
}
正文完
共计 132 个字符,预计需要花费 1 分钟才能阅读完成。
横屏
@media all and (orientation : landscape) {h1{color:red}
}
竖屏
@media all and (orientation : portrait){h1{color:yellow}
}