Media Query to differentiate Google Pixel 1/2 vs Google Pixel XL vs Google Pixel 2 XL
问题 Im writing a cordova app and need to isolate these google phones to adjust styling given this: Im struggling to differentiate between any of the Google Pixel Phones. @media only screen and (min-width: 411px) and (max-width: 731px) { .myDiv{ background-color: blue; } } this triggers on all Pixels - both in emulators and physical devices @media only screen and (min-width: 411px) and (-webkit-device-pixel-ratio: 3) { .myDiv{ background-color: blue; } } this does not trigger at all with any pixel