Hi there theremotedr,
sorry about that, I am not as sharp as I used to be
and suffer more frequently from
Senior Moments.
This is my test CSS for the modal image and video at present...
Code:
/****************** modal window ******************/
#modal {
position: fixed;
z-index: 999;
top: 0;
left: 0;
width: 100%;
height: 100%;
overflow: auto;
background: linear-gradient( to bottom, #666, #000 );
text-align: center;
}
#modal-image,
#modal video {
height: 80vh;
width: auto;
margin: 1em auto;
border: 1px solid #fff;
}
#closure {
padding: 0.5em 2em;
margin-top:1em;
border-radius: 0.75em;
font-size: 1em;
cursor: pointer;
}
.hide{
display: none;
}
#modal video {
display:block;
}
/***************************************************/
I do not have a mobile phone for testing, but would
assume that landscape view would offer the better
results.
coothead
Bookmarks