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>
      <style>
         #lifeBar-holder{width:200px;height:15px;background:grey; position:absolute; top:20px; left:30px;position:relative;}
    #lifeBar{width:0;height:100%;background:green;}
  
        #discretionBar-holder{width:200px;height:15px;background:grey; position:absolute; top:40px; left:30px; position:relative;}
    #discretionBar{width:0;height:100%;background:blue;}
        
        .loadNumber{position:absolute;z-index:10;top:0;left:0;width:100%;text-align:center;}
    </style>
  
  
     <div id="lifeBar-holder">
       <div id="lifeBar" style="width:40%"></div>
       <div class="loadNumber">40%</div>
    </div>
    <div id="discretionBar-holder">
      <div id="discretionBar" style="width:70%"></div>
      <div class="loadNumber">70%</div>
    </div>
  
</body>
</html>
Output 300px

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

Dismiss x
public
Bin info
anonymouspro
0viewers