css progress

In this example below you will see how to do a css progress with some HTML / CSS and Javascript

Thumbnail
This awesome code was written by 0x00dec0de, you can see more from this user in the personal repository.
You can find the original code on Codepen.io
Copyright 0x00dec0de ©
  • HTML
  • CSS
  • JavaScript
    <div class="meter">
    <span style="width:100%;"><span class="progress"></span></span>
</div>

/*Downloaded from https://www.codeseek.co/0x00dec0de/css-progress-bKEyxd */
    .meter { 
    height: 2px;
    position: relative;
    background: #f3efe6;
    overflow: hidden;
}

.meter span {
    display: block;
    height: 100%;
}

.progress {
    background-color: #e4c465;
    animation: progressBar 5s ease-in-out;
    animation-fill-mode:both; 
}
.meter:hover .progress {
  animation: 0;
}

@keyframes progressBar {
  0% { width: 100%; }
  100% { width: 0; }
}


/*Downloaded from https://www.codeseek.co/0x00dec0de/css-progress-bKEyxd */
    

Comments