I managed to create a design that works perfectly for the iPad Pro in landscape mode with a resolution of 1366x1024. It doesn't affect the viewport of my device with a resolution of 1366x768. Take a look at the code snippet below:
@media only screen
and (min-device-width: 1025px)
and (max-device-width: 1366px)
and (-webkit-min-device-pixel-ratio: 2)
and (orientation: landscape){
selector{
background-size: 100% 75% !important;
background-position: center top 188px!important;
background-repeat: no-repeat;
background-attachment: fixed;
}
}
Now, I need another media query that will specifically target the resolution of 1366x768. I tried modifying the existing one but it didn't work as expected. Hopefully, this explanation clarifies what I'm trying to achieve. Can someone please assist me?