デバイス (およびその向き) に応じて適切なスタイル シートを適用する Web アプリを開発しようとしています。
合計で 5 つのメディア クエリがあります。
//for mobile phones in portrait mode
<link rel="stylesheet" media="all and (max-device-width: 480px) and (orientation:portrait)" href="css/mobile-portrait.css">
//for mobile phones in landscape mode
<link rel="stylesheet" media="all and (max-device-width: 480px) and (orientation:landscape)" href="css/mobile-landscape.css">
//for tablets (iPad) in portrait mode
<link rel="stylesheet" media="all and (min-device-width: 481px) and (max-device-width: 1024px) and (orientation:portrait)" href="css/tablet-portrait.css">
//for tablets (iPad) in landscape mode
<link rel="stylesheet" media="all and (min-device-width: 481px) and (max-device-width: 1024px) and (orientation:landscape)" href="css/tablet-landscape.css">
//for desktop computers
<link rel="stylesheet" media="all and (min-device-width: 1025px)" href="css/desktop.css">
デスクトップ、iPad、iPhone ではすべて動作しますが (ブラウザー バージョンと Web アプリ バージョンの両方で)、Android ブラウザーではランドスケープ メディア クエリが失敗しますか? 何か案は?「max-device-width」を間違えましたか?