Skip welcome & menu and move to editor
Welcome to JS Bin
Load cached copy from
 
<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <title>JS Bin</title>
</head>
<body>
<div class="videos">
    <div class="video" id="video1">
        <iframe width="450" height="315" src="https://www.youtube.com/embed/vr0dXfQQfNU" frameborder="0" allowfullscreen></iframe>
    </div>
    <div class="video" id="video2">
        <iframe width="450" height="315" src="https://www.youtube.com/embed/fevkx229XBs" frameborder="0" allowfullscreen></iframe>
        <!--h <img src="images/vidborder2.png" class="vidborder2">-->
    </div>
</div>
</body>
</html>
 
.video {
  padding : 10px;
  background-size: cover;
  background-position: center;
}
div#video1 {
    float: right;
    background-image: url(https://pixabay.com/get/5ddc1aac47fd50fd279e/1435598332/beads-809385_1280.jpg?direct);
    background-repeat: no-repeat;
    display: table-cell;
    vertical-align: middle;
    text-align: center;
}
div#video2 {
    background-image: url(https://pixabay.com/get/5ddc1aac47fd50fd279e/1435598332/beads-809385_1280.jpg?direct);
    background-repeat: no-repeat;
    display: table-cell;
    vertical-align: middle;
    text-align: center;
}
.videos {
    margin-top: 40px;
}
Output 300px

You can jump to the latest bin by adding /latest to your URL

Dismiss x
public
Bin info
anonymouspro
0viewers