Skip welcome & menu and move to editor
Welcome to JS Bin
Load cached copy from
 
<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width">
  <title>JS Bin</title>
</head>
<body>
  <div class="page">
    <div class="bg"><iframe class="bg-inner" width="420" height="345" src="http://www.youtube.com/embed/oHg5SJYRHA0?autoplay=1&showinfo=0&controls=0&loop=1" frameborder="0" allowfullscreen></iframe></div>
    <div class="content">就這樣阿</div>
  </div>
  <div class="page">
    <div class="content">第二頁</div>
  </div>
</body>
</html>
 
html, body {
  height: 100%;
  padding: 0px;
  margin: 0px;
  background: black;
  color: white;
}
.page {
  height: 100%;
  position: relative;
  border-bottom: #fff solid 1px;
}
.page .bg, .page .content {
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0px;
  top: 0px;
}
.page .bg {
  opacity: 0.3;
}
.page .bg .bg-inner {
  height: 100%;
  width: 100%;
}
.page .content {
  line-height: 0px;
  text-align:center;
  font-size: 20px;
}
.page .content::after {
  display: inline-block;
  vertical-align: middle;
  width: 0px;
  height: 100%;
  content: " ";
}
Output

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

Dismiss x
public
Bin info
mmis1000pro
0viewers