Skip to content

Instantly share code, notes, and snippets.

@pablolobos
Created October 30, 2013 15:10
Show Gist options
  • Save pablolobos/7234257 to your computer and use it in GitHub Desktop.
Save pablolobos/7234257 to your computer and use it in GitHub Desktop.
css_Fluid video
.video-fluido {
position: relative;
padding-bottom: 56.25%;
padding-top: 0;
height: 0;
overflow: hidden;
}
.video-fluido iframe,
.video-fluido object,
.video-fluido embed {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment