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>Use original order of HTML tags</title>
  <style>
    .box {
      width: 100px;
      height: 100px;
      text-align: center;
      line-height: 100px;
      font-size: 80px;
      position: absolute;
    }
    .a {
      background: green;
      margin: 0;
      /* Changes 1: Remove z-index: 1; */
    }
    .b {
      background: blue;
      margin: 20px 0 0 20px;
    }
    .c {
      background: red;
      margin: 40px 0 0 40px;
    }
  </style>
</head>
<body>
  <!-- Changes 2: swap tags order -->
  <div class="box c">C</div>
  <div class="box b">B</div>
  <div class="box a">A</div>
</body>
</html>
Output

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

Dismiss x
public
Bin info
JuniorTourpro
0viewers