📜  所有 ipad Resolutio css 代码示例

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

代码示例1
@media all and (device-width: 768px) and (device-height: 1024px) and (orientation:portrait) {
  .ipad-portrait { color: red; } /* your css rules for ipad portrait */
}
@media all and (device-width: 1024px) and (device-height: 768px) and (orientation:landscape) {
  .ipad-landscape { color: blue; } /* your css rules for ipad landscape */
}