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>
  <style>
    #views > div {
        height: 100%;
        width: 100%;
        position: absolute;
        top: 0;
        left: 0;
    }
    .cards-container {
        background: yellow;
        width: 95px;
        height: 95px;
        display: inline-block;
        margin: 5px;
    }
    .view-container {
        margin: 10px;
    }
    #contextmenu {
        position: absolute;
        background: #333;
        color: white;
        width: 100%;
        top: 60px;
        z-index: 3;
    }
    #overlay {
        z-index: 1;
        background: white;
        opacity: .8;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }
    
    #card1 {
        z-index: 2;
    }
    </style>
</head>
<body>
<div id="views">
        <div id="container">
            <div class="view-container">
              <div id="card1" class="cards-container">Card</div>
              <div class="cards-container">Card</div>
              <div class="cards-container">Card</div>
            </div>
        </div>
  </div>
  <div id="overlay"></div>
  <div id="contextmenu">
    This is the context menu.
  </div>
    
</body>
</html>
Output

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

Dismiss x
public
Bin info
anonymouspro
0viewers