My setup includes elements with max-width: 992px
, another with max-height: 732px
and max-width: 992px
. I want the media screen to take action only if both the height and width are below their respective maximum values.
This is what I currently have:
@media screen and (max-height: 753px) and (max-width: 992px){
}
What should be the correct way to set this up?
It seems like I just need to nest @media screen
within another.