xGEaXO ('-' * 6)
A Pen by Dominik Fiala on CodePen.
<div> | |
<video src="http://upload.wikimedia.org/wikipedia/commons/4/4b/Erection_development_animated.ogv" autoplay loop></video> | |
</div> |
body, html { | |
height: 100%; | |
} | |
div { | |
background: black; | |
display: flex; | |
flex-direction: column; | |
justify-content: center; | |
height: 100%; | |
} | |
video { | |
width: 100%; | |
height: auto; | |
} |
xGEaXO ('-' * 6)
A Pen by Dominik Fiala on CodePen.