Home » Snippets » Styling HTML5 Progress Bars with Animations Styling HTML5 Progress Bars with Animations - Snippet --- jQuery jQuery UI Bootstrap Angular Backbone D3 Ember GreenSock TweenMax Handlebars Lodash Modernizr Polymer React React DOM Snap.svg Three.js Underscore Zepto ZingChart --- Bootstrap Foundation Animate.css Preview HTML CSS JS <div class="container"> <div class="progress_wrapper orange_green"> <span class="orange_green tooltip">60%</span> <progress max="100" value="60" class="orange_green"> <strong>Progress: 60% done.</strong> </progress> </div> <div class="progress_wrapper pink_blue"> <span class="pink_blue tooltip">80%</span> <progress max="100" value="80" class="pink_blue"> <strong>Progress: 80% done.</strong> </progress> </div> <span class="details">Tested in Chrome v18 <span class="amp">&</span> Firefox v11.</span> </div> html { background: #322c35 url("bg.png"); } html body { width: 342px; height: 267px; display: block; margin: 0 auto; top: 50%; margin-top: 133.5px; text-align: center; } html body span.details { font-size: 13px; margin-top: 20px; display: block; color: #87788f; } html body span.details span.amp { font-family: Baskerville, "Goudy Old Style", "Palatino", "Book Antiqua", serif; font-size: 110%; font-style: italic; } html body span.details a, html body span.details a:visited { color: #afa5b4; text-decoration: none; } html body span.details a:hover, html body span.details a:visited:hover { color: #d7d2da; } .progress_controller a { color: #afa5b4; text-shadow: 1px 1px 0px rgba(0,0,0,0.9); font-size: 13px; cursor: pointer; } .progress_controller a:hover { color: #d7d2da; } .progress_controller a.decrease { margin-right: 15px; } .progress_wrapper { position: relative; width: 342px; } .progress_wrapper progress.orange_green, .progress_wrapper progress.pink_blue { width: 340px; height: 14px; margin-bottom: 60px; -webkit-appearance: none; -moz-appearance: none; appearance: none; border: none; padding: 1px; border-radius: 5px; box-shadow: 0px 1px 1px rgba(255,255,255,0.13); overflow: hidden; background-color: #000; } .progress_wrapper progress.orange_green::-webkit-progress-bar, .progress_wrapper progress.pink_blue::-webkit-progress-bar { background-color: #000; } .progress_wrapper .tooltip { display: inline-block; font-size: 12px; color: #fff; padding: 4px 0px; width: 39px; -webkit-border-radius: 3px; -webkit-border-bottom-left-radius: 0; -moz-border-radius: 3px; -moz-border-radius-bottomleft: 0; border-radius: 3px; border-bottom-left-radius: 0; border: 1px solid #000; box-shadow: 1px 0px 2px rgba(0,0,0,0.28), inset 1px 1px 1px rgba(255,255,255,0.05); position: absolute; top: -35px; left: 0%; margin-left: -10px; text-shadow: 1px 1px 0px rgba(0,0,0,0.9); } .progress_wrapper .tooltip.orange_green { background: -webkit-linear-gradient(top, rgba(255,255,255,0.1) 0%, rgba(0,0,0,0.2) 100%), #393d2d; background: -moz-linear-gradient(top, rgba(255,255,255,0.1) 0%, rgba(0,0,0,0.2) 100%), #393d2d; left: 60%; } .progress_wrapper .tooltip.orange_green::before { content: ''; display: block; position: absolute; top: 25px; left: -1px; width: 0; height: 0; border-right: 3px solid transparent; border-top: 3px solid #000; border-left: 3px solid #000; border-bottom: 3px solid transparent; } .progress_wrapper .tooltip.orange_green::after { content: ''; display: block; position: absolute; top: 23px; left: 0px; width: 0; height: 0; border-right: 3px solid transparent; border-top: 3px solid #303426; border-left: 3px solid #303426; border-bottom: 3px solid transparent; } .progress_wrapper .tooltip.pink_blue { background: -webkit-linear-gradient(top, rgba(255,255,255,0.1) 0%, rgba(0,0,0,0.2) 100%), #473a4d; background: -moz-linear-gradient(top, rgba(255,255,255,0.1) 0%, rgba(0,0,0,0.2) 100%), #473a4d; left: 80%; } .progress_wrapper .tooltip.pink_blue::before { content: ''; display: block; position: absolute; top: 25px; left: -1px; width: 0; height: 0; border-right: 3px solid transparent; border-top: 3px solid #000; border-left: 3px solid #000; border-bottom: 3px solid transparent; } .progress_wrapper .tooltip.pink_blue::after { content: ''; display: block; position: absolute; top: 23px; left: 0px; width: 0; height: 0; border-right: 3px solid transparent; border-top: 3px solid #3c3141; border-left: 3px solid #3c3141; border-bottom: 3px solid transparent; } .progress_wrapper progress.orange_green::-webkit-progress-value { background: -webkit-linear-gradient(top, rgba(255,255,255,0.1) 0%, rgba(0,0,0,0.2) 100%), -webkit-linear-gradient(left, #dd896c 0%, #9dac7b 100%); box-shadow: inset 1px 1px 1px rgba(255,255,255,0.7); border-radius: 5px; position: relative; } .progress_wrapper progress.orange_green::-webkit-progress-value:after { content: ''; width: 6px; height: 6px; display: block; position: absolute; border-radius: 50%; right: 5px; top: 3px; background-color: #687746; box-shadow: 0px 1px 1px rgba(255,255,255,0.37), inset 0px 1px 1px rgba(0,0,0,0.54); } .progress_wrapper progress.orange_green::-moz-progress-bar { background: -moz-linear-gradient(top, rgba(255,255,255,0.1) 0%, rgba(0,0,0,0.2) 100%), -moz-linear-gradient(left, #dd896c 0%, #9dac7b 100%); box-shadow: inset 1px 1px 1px rgba(255,255,255,0.7); border-radius: 5px; position: relative; } .progress_wrapper progress.orange_green::-moz-progress-bar:after { content: ''; width: 6px; height: 6px; display: block; position: absolute; border-radius: 50%; right: 5px; top: 3px; background-color: #687746; box-shadow: 0px 1px 1px rgba(255,255,255,0.37), inset 0px 1px 1px rgba(0,0,0,0.54); } .progress_wrapper progress.pink_blue::-moz-progress-bar { background: -moz-linear-gradient(top, rgba(255,255,255,0.1) 0%, rgba(0,0,0,0.2) 100%), -moz-linear-gradient(left, #dc5e5b 0%, #4890be 100%); box-shadow: inset 1px 1px 1px rgba(255,255,255,0.7); border-radius: 5px; position: relative; } .progress_wrapper progress.pink_blue::-moz-progress-bar:after { content: ''; width: 6px; height: 6px; display: block; position: absolute; border-radius: 50%; right: 5px; top: 3px; background-color: #4079ad; box-shadow: 0px 1px 1px rgba(255,255,255,0.37), inset 0px 1px 1px rgba(0,0,0,0.54); } .progress_wrapper progress.pink_blue::-webkit-progress-value { background: -webkit-linear-gradient(top, rgba(255,255,255,0.1) 0%, rgba(0,0,0,0.2) 100%), -webkit-linear-gradient(left, #dc5e5b 0%, #4890be 100%); box-shadow: inset 1px 1px 1px rgba(255,255,255,0.7); border-radius: 5px; position: relative; } .progress_wrapper progress.pink_blue::-webkit-progress-value:after { content: ''; width: 6px; height: 6px; display: block; position: absolute; border-radius: 50%; right: 5px; top: 3px; background-color: #4079ad; box-shadow: 0px 1px 1px rgba(255,255,255,0.37), inset 0px 1px 1px rgba(0,0,0,0.54); } Tutorials Palace 12 January, 2019 No Comments 92 Views Styling HTML5 Progress Bars with Animations CSS Progress Bar CSS Progress Bar Download Styling HTML5 Progress Bars with Animations Code Fullscreen Tutor Play Walkthrough Related Snippets Box Shadow Editor Canvas Particles Emission Dripping Paint CSS3 Animation National flag of Mongolia Particles Emission Based on Mouse Moves Custom Cursor Images with CSS Particle System Leaving Trails CSS3 LT Form Particles Gravity Effect Leave a Reply Cancel replyYour email address will not be published. Required fields are marked *Name * Email * Website Notify me of new posts by email.