移动端横竖屏样式转换
横屏
@media all and (orientation : landscape) {
h1{color:red}
}
竖屏
@media all and (orientation : portrait){
h1{color:yellow}
}
规划生活 乐趣所在 无拘无束
横屏
@media all and (orientation : landscape) {
h1{color:red}
}
竖屏
@media all and (orientation : portrait){
h1{color:yellow}
}
阿里云限时活动-云数据库 RDS MySQL 1核2G配置 1.88/月 速抢
本文由乐趣区整理发布,转载请注明出处,谢谢。