Skip to content

Instantly share code, notes, and snippets.

@dennis-8
Created December 9, 2017 17:30
Show Gist options
  • Save dennis-8/059fc6a3307ffb4e71bd0a291ecba601 to your computer and use it in GitHub Desktop.
Save dennis-8/059fc6a3307ffb4e71bd0a291ecba601 to your computer and use it in GitHub Desktop.
JS Bin // source https://jsbin.com/bakafax
<!DOCTYPE html>
<html>
<head>
<meta name="description" content="[add your bin description]">
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>JS Bin</title>
</head>
<body>
<style>
.my-thank-you-video-title {
color: #15a926 !important;
margin: 0.7em 0 0 0 !important;
}
.my-thank-you-video {
height: 340px;
}
.my-thank-you-video iframe {
height: 100% !important;
width: 100% !important;
}
@media screen and (max-width: 480px) {
.my-thank-you-video {
height: 250px;
}
}
@media screen and (max-width: 400px) {
.my-thank-you-video {
height: 200px;
}
}
</style>
<h2 class="os-header__title my-thank-you-video-title">WAIT! Watch This Important Video!</h2>
<div class="my-thank-you-video">
<iframe src="https://player.vimeo.com/video/22884674?autoplay=1&loop=1&color=ffffff&title=0&byline=0&portrait=0" width="640" height="360" frameborder="0" webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe>
</div>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment