Skip welcome & menu and move to editor
Welcome to JS Bin
Load cached copy from
 
<!DOCTYPE html>
<html>
<head>
<meta name="description" content="[add your bin description]" />
<meta charset=utf-8 />
<title>JS Bin</title>
<!--[if IE]>
  <script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<style>
  
  canvas {
    border: 1px solid green;
    background-color: yellow
  }
  #myCanvas { 
    z-index: 1;    
   
    
  }
  #legend { 
    
    height: 80px; 
    width: 80px; 
    background-color: #0000FF;
    
    border: 1px solid red;
  }
</style>
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
</head>
<body>
<div id="legend" style="top: 100px; position:relative;">
        <p>And is</p>
  </div>
    <canvas id="myCanvas"></canvas> 
    
      
      
 
</body>
   
</html>
Output

This bin was created anonymously and its free preview time has expired (learn why). — Get a free unrestricted account

Dismiss x
public
Bin info
anonymouspro
0viewers