-2
What would be the media querie for the resolution of the new mobile: Google Pixel 3 XL ?
At this link i have the media queries for version 2:
@media
only screen and (-webkit-min-device-pixel-ratio: 3),
only screen and ( min--moz-device-pixel-ratio: 3),
only screen and ( -o-min-device-pixel-ratio: 3/1),
only screen and ( min-device-pixel-ratio: 3),
only screen and ( min-resolution: 384dpi),
only screen and ( min-resolution: 3dppx) {
/* Retina styles here */
}
I suspect it is so, but I have no basis to make sure:
/** Google Pixel 3 XL **/
@media screen and (device-width: 360px) and (device-height: 740px),
only screen and (-webkit-min-device-pixel-ratio: 4),
only screen and ( min--moz-device-pixel-ratio: 4),
only screen and ( -o-min-device-pixel-ratio: 4/1),
only screen and ( min-device-pixel-ratio: 4),
only screen and ( min-resolution: 523dpi),
only screen and ( min-resolution: 4dppx) {
/*** exemplo ***/
}
As I commented below, take a look here that will help you: https://answall.com/questions/360441/qual-a-diff%C3%A7a-entre-css-Resolution-e-pixel-Resolution/360460#360460
– hugocsl