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>
  <style>
    div.test {
      width: 100px;
      height: 100px;
      background-size: 50000px 100px;
      background-position: -25000px 0px;
      background-image: linear-gradient(90deg, #000, #0F0)
    }
    div.base {
      margin-top:1px;
      width: 100px;
      height: 100px;
      background-color: #080;
    }
  </style>
</head>
<body>
  <div class="test"></div>
  <div class="base"></div>
</body>
</html>
Output 300px

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

Dismiss x
public
Bin info
faceless2pro
0viewers