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>
  html {
    height: 300%;
    width: 300%;
  }
  div#some {
    position: absolute;
    background: black;
    width: 2px;
    height: 2px;
  }
  div.success, div.fail {
    border-radius: 3px 0px 3px 4px;
    max-width: 12cm;
    padding: 7px;
    margin: 5px;
  }
  div.success {
    border-left: green 2px solid;
    border-bottom: green 1px solid;
    background: -moz-linear-gradient(35deg, green, #af6 17px, white 20px);
    background: -webkit-linear-gradient(35deg, green, #af6 17px, white 20px);
    background: linear-gradient(35deg, green, #af6 17px, white 20px);
    box-shadow: inset 3px -3px 3px -3px #4a0;
  }
  div.fail {
    border-left: red 2px solid;
    border-bottom: red 1px solid;
    background: -moz-linear-gradient(35deg, red, #fa6 17px, white 20px);
    background: -webkit-linear-gradient(35deg, red, #fa6 17px, white 20px);
    background: linear-gradient(35deg, red, #fa6 17px, white 20px);
    box-shadow: inset 3px -3px 3px -3px #a40;
  }
</style>
  
</head>
<body>
  
  <h1><code> scrollIntoViewIfNeeded </code></h1>
  
  <div id=some></div>
  <div id=results></div>
  
</body>
</html>
Output

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

Dismiss x
public
Bin info
foopro
0viewers