css判断横竖屏幕:
/* portrait */
@media screen and (orientation:portrait) {
/* 正常情况下 */
/* portrait-specific styles */
}
/* landscape */
/* 宽屏情况下 */
@media screen and (orientation:landscape) {
/* landscape-specific styles */
}
css判断横竖屏幕:
/* portrait */
@media screen and (orientation:portrait) {
/* 正常情况下 */
/* portrait-specific styles */
}
/* landscape */
/* 宽屏情况下 */
@media screen and (orientation:landscape) {
/* landscape-specific styles */
}