Skip to content

Instantly share code, notes, and snippets.

@Xavka
Created February 26, 2015 09:42
Show Gist options
  • Save Xavka/de19a0ac50df651c8e4c to your computer and use it in GitHub Desktop.
Save Xavka/de19a0ac50df651c8e4c to your computer and use it in GitHub Desktop.
@media (min-aspect-ratio: 16/9) {
.fullscreen-bg__video video {
height: 300%;
top: -100%;
}
}
@media (max-aspect-ratio: 16/9) {
.fullscreen-bg__video video {
width: 300%;
left: -100%;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment