Pen Settings

CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URL's added here will be added as <link>s in order, and before the CSS in the editor. If you link to another Pen, it will include the CSS from that Pen. If the preprocessor matches, it will attempt to combine them before processing.

+ add another resource

You're using npm packages, so we've auto-selected Babel for you here, which we require to process imports and make it all work. If you need to use a different JavaScript preprocessor, remove the packages in the npm tab.

Add External Scripts/Pens

Any URL's added here will be added as <script>s in order, and run before the JavaScript in the editor. You can use the URL of any other Pen and it will include the JavaScript from that Pen.

+ add another resource

Use npm Packages

We can make npm packages available for you to use in your JavaScript. We use webpack to prepare them and make them available to import. We'll also process your JavaScript with Babel.

⚠️ This feature can only be used by logged in users.

Code Indentation

     

Save Automatically?

If active, Pens will autosave every 30 seconds after being saved once.

Auto-Updating Preview

If enabled, the preview panel updates automatically as you code. If disabled, use the "Run" button to update.

HTML Settings

Here you can Sed posuere consectetur est at lobortis. Donec ullamcorper nulla non metus auctor fringilla. Maecenas sed diam eget risus varius blandit sit amet non magna. Donec id elit non mi porta gravida at eget metus. Praesent commodo cursus magna, vel scelerisque nisl consectetur et.

            
              <head>
  <script src="https://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"></script>
  <link rel="stylesheet" href="https://daneden.me/animate/animate.css" />
  <link href="//netdna.bootstrapcdn.com/font-awesome/3.0.2/css/font-awesome.css" rel="stylesheet">
</head>
<body>
  <div id="wrapper">
    <div id="signin">
      <div class="title">
        <h2>UPLOAD FORM</h2><h2><span class="close"><i class="icon-off"></i></span></h2>
      </div>
      <div class="body">
        <div class="list">
          <ul>
            <li><i class="icon-file-alt"></i>index.html <span class="cancel"><i class="icon-minus-sign"></i></span></li>
            <li><i class="icon-file-alt"></i>style.css <span class="cancel"><i class="icon-minus-sign"></i></span></li>
            <li><i class="icon-file-alt"></i>jquery.js <span class="cancel"><i class="icon-minus-sign"></i></span></li>
            <li><i class="icon-file-alt"></i>logo.png <span class="cancel"><i class="icon-minus-sign"></i></span></li>    
            <li><i class="icon-file-alt"></i>logo.png <span class="cancel"><i class="icon-minus-sign"></i></span></li>              
          </ul>
        </div>
        <div class="progress">
          <div class="bar"></div>
          <div class="tip">50%</div>
        </div>
      </div>
    </div>
  </div>
</body>
            
          
!
            
              body {
  margin: 0px;
  padding: 0px;
  height: auto;
  min-height: 100%;
  background: #242428;
  background-image: url("https://subtlepatterns.com/patterns/debut_dark.png");
  font-family: "Arial";
}
#signin {
  position:absolute;
  z-index:5;
  top:40%;
  left:50%;
  width:260px;
  min-height: 320px;
  /*padding:25px 30px 30px;*/
  margin:-120px 0 0 -150px;
  box-shadow:rgba(0,0,0,0.8) 0 0px 10px,rgba(0,0,0,0.65) 0 0 10px 1px,inset rgba(255,255,255,0.15) 0 1px 0,inset rgba(0,0,0,0.25) 0 -1px 0;
  background-image: url("https://subtlepatterns.com/patterns/brushed_alu_dark.png");
  border-radius:5px;
  -moz-background-clip:padding;
  -webkit-background-clip:padding-box;
  background-clip:padding-box;
  overflow:hidden;
  visibility:visible
}

.title {
  width: 100%;
  height: 40px;
  position: absolute;
  left: 0px;
  background-color: rgba(0,0,0,0.25);
  border-bottom: 1px solid #444;
}
.title h2 {
  color: rgba(0,0,0,0.75);
  margin-left: 10px;
  margin-top: 10px;
  text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.45);
  float:left;
  font-size: 120%;
}
.title .close {
  position: absolute;
  right: 10px;
  color: #333;
}
.body {
  width: 100%;
  /*position: absolute;*/
  left: 0px;
  border-top: 1px solid #aaa;
  margin-top: 41px;
}

.list  {
  min-height: 180px;
  height: 20px;
  overflow: hidden;
}
.list ul {
  list-style: none;
  list-style-type: none;
  padding-left: 0em;
  text-indent: 0em;
}
.list ul > li {
  color: #fff;
  border: 1px solid #222;
  margin: 10px;
  line-height: 30px;
  border-radius: 2px;
  box-shadow: inset 0px 0px 0 rgba(0,0,0,0.2), 
    inset 0 -1px 0 rgba(255,255,255,.25), 
    inset 0 1px 0 rgba(255,255,255,.1), 0 1px 0 rgba(255,255,255,.5);
  background-image: -webkit-linear-gradient(top, #444 0%, #666 100%);
  text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.45);
  floar:left;
}
.list ul > li .cancel {
  float:right;;
  margin-right: 5px;
  color: #888;
  text-shadow: 0px 0px 6px rgba(0, 0, 0, 0.35);
}
.list ul > li .cancel:hover {
  float:right;;
  margin-right: 5px;
  color: #ccc;
  text-shadow: 0px 0px 6px rgba(255, 255, 255, 0.35);
}
.progress {
  border: 1px solid #222;
  margin: 10px;
  height: 10px;
  border-radius: 2px;
  box-shadow: inset 0px 0px 0 rgba(0,0,0,0.2), 
    inset 0 -1px 0 rgba(255,255,255,.25), 
    inset 0 1px 0 rgba(255,255,255,.1), 0 1px 0 rgba(255,255,255,.5);
  background-image: -webkit-linear-gradient(top, #444 0%, #888 100%);
}
.progress .bar {
  width: 50%;
  height: 100%;
  background-color: #F2BC26;
  box-shadow: 0px 0px 10px 2px #F47B25;
}
.progress .tip {
  width: 40px;
  margin-top: 15px;
  height: 20px;
  background-color: #f0f0f0;
  background-image: -webkit-linear-gradient(top, #fff 0%, #888 100%);
  text-align: center;
  line-height: 22px;
  border: 1px solid #444;
  border-radius: 4px;
  left: 50%;
  margin-left: -20px;
  position:relative;
  color: #333;
  font-weight: bold;
  font-size: 12px;
  text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.45);
}
.progress .tip:before {
  content:"";
  border-color: transparent  transparent #000 transparent;
  border-style:solid;
  border-width:5px;
  width:0;
  height:0;
  position:absolute;
  top: -11px;
  left: 50%;
  margin-left: -5px;
}
.progress .tip:after {
  content:"";
  border-color: transparent transparent #f4f4f0 transparent;
  border-style:solid;
  border-width:5px;
  width:0;
  height:0;
  position:absolute;
  top: -10px;
  left: 50%;
  margin-left: -5px;
}
            
          
!
            
              $(document).ready(function () {
  
  var progress = 0;
  $('.list').find('li').each(function () {
    $(this).find('.cancel').on('click', function(event) {
      $(this).parent().hide('slow', function(){ $(this).remove();});
    })
  })
    
    setInterval(function() {
      $('.progress').find('.bar').css('width', progress +'%');
      $('.progress').find('.tip').css('left', progress +'%');
      $('.progress').find('.tip').text(progress + "%");
      if(progress >= 100) {
        $('.list').find('li').first().hide('slow', function(){ $(this).remove();});
        progress = 0;
      }
      progress++;
    }, 100);
}) 
   

            
          
!
999px
🕑 One or more of the npm packages you are using needs to be built. You're the first person to ever need it! We're building it right now and your preview will start updating again when it's ready.

Console