Hi,
This afternoon been trying to get my head around media queries.
I have this code shown below.
Code:
/* For iPhone 6 and 6 plus Portrait or Landscape View */
@media (min-device-height: 667px) and (min-device-width: 375px)
and (-webkit-min-device-pixel-ratio: 3) {
#modal-image {
max-width: 95%;
max-height: 95%;
margin-left: auto;
margin-right: auto;
background: linear-gradient( to bottom, #666, #000 );
}
#closure{
display: none;
}
}
My goal is to SHOW the closure button when in Portrait mode BUT when in Landscape mode have it HIDDEN.
The code above hides it both in PORTRAIT & LANDSCAPE & i cant work out how to apply it to LANDSCAPE only
Thanks
Bookmarks