I am attempting to target a specific range between 767px and 1024px.
This should be applicable to the screen, as well as iPad portrait mode, but NOT for iPad in landscape mode.
I have experimented with various queries, but none of them have yielded the desired outcome.
@media only screen and (max-device-width: 1024px) and (orientation: portrait),
screen and (min-width: 767px) and (max-width: 1024px) { ... }
The issue arises because the iPad landscape mode falls within the range of 767px to 1024px. I am unsure how to exclude this particular viewport configuration.