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="navigation">
  </div>
  <div class="slider">
  </div>
  <div class="footer">
  </div>
</body>
</html>
 
html, body {
  height: 100%;
}
body {
  margin: 0;
  min-height: 100%;
}
.navigation {
  background-color: lightyellow;
  width:100%;
  height:20%;
  position:fixed;
}
.slider {
  position: absolute;
  top:20%;
  height:60%;
  width:100%;
  background-color: lightgreen;
}
.footer {
  position: relative;
  top: 80%;
  background-color: lightblue;
  height: 20%;
  width: 100%;
}
Output

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

Dismiss x
public
Bin info
davidpauljuniorpro
0viewers