Chunks
Editor's choice
Latest chunks
Popular
New chunk
Login
Register
Chunk options
CSS
JS
Share
Full page
Fork
Auto-run JS
Run
Save
×
Tags
3d
accordion
admin
admin dashboard
admin interface
ajax
alert
android
angularjs
animate
animated
animation
append
apple
audio
backbonejs
background
badges
blog
blur
bootstrap
border
box-shadow
button
buttons
calendar
canvas
caption
carousel
checkbox
checkout
chrome
clock
cloth
cms
color
contact
controls
css animation
css only
css3
d3js
demo
design
dribbble
dropdown
ecommerce
effect
emberjs
facebook
flat
flat design
flexbox
flip
footer
form
forms
gallery
game
gradient
grid
gsap
header
hover
html5
icon fonts
icons
image
image slider
images
input
ionic
ios7
iphone
jquery
jQuery plugin
keyframes
layout
layouts
light
lightbox
list
lists
loader
loading
login
logo
magnific-popup
maps
masonry
menu
messages
mobile
modal
mouse
nav
navbar
navigation
panel
parallax
particles
payment
physics
plugin
popup
profile
progress bar
pure css
radio
registration
responsive
rwd
scroll
search
select
shadow
shop
sidebar
signup
simple
slide
slider
slideshow
social
spinner
status
svg
switch
tabbable
table
tabs
text
thumbnails
toggle
toolbar
transform
transition
twitter
typography
ui
user
user interface
webkit
Description
CSS
Bootstrap 3.1.1
Bootstrap 3.0.1
Bootstrap 2.3.2
Foundation 5.2.2
Foundation 4.3.2
Font Awesome 4.0.3
Animate.css 3.1.0
Pure 0.4.2
Add external CSS library
JS
Jquery 2.1.0
Jquery 2.0.0
Jquery 1.11.0
Jquery 1.9.0
Jquery 1.8.0
Jquery 1.7.0
Jqueryui 1.10.4
Jqueryui 1.9.2
Jqueryui 1.8.24
Bootstrap 3.1.1
Bootstrap 3.0.0
Bootstrap 2.3.2
Foundation 5.2.2
Dojo 1.9.3
Dojo 1.8.6
Dojo 1.7.5
MooTools 1.4.5
MooTools 1.3.2
AngularJS 1.2.26
EmberJs 1.5.0
BackboneJs 1.1.2
Prototype 1.7.1.0
Prototype 1.6.1.0
ExtCore 3.1.0
Add external JS library
Share link
Full page
<html> <head> <title>Progress Bar Demo | Codelator</title> </head> <body> <!-- Simple Progress Bars STARTS --> <h3>Simple Progress Bars</h3> <div class="container"> <div class="red progressbar" style="width:20%"></div> </div> <div class="container"> <div class="blue progressbar" style="width:40%"></div> </div> <div class="container"> <div class="yellow progressbar" style="width:60%"></div> </div> <div class="container"> <div class="green progressbar" style="width:80%"></div> </div> <div class="container"> <div class="orange progressbar" style="width:100%"></div> </div> <!-- Simple Progress Bars ENDS --> <br /> <!-- Animated Progress Bars STARTS --> <h3>Animated Progress Bars</h3> <div class="container striped active"> <div class="progressbar red" style="width:33.33%"></div> </div> <div class="container striped active"> <div class="progressbar blue" style="width: 66.66%"></div> </div> <!-- Animated Progress Bars ENDS --> <br /> <!-- Multicolored Progress Bars STARTS --> <h3>Multicolored Progress Bars</h4> <div class="container"> <div class="orange progressbar" style="width:25%"></div> <div class="red progressbar" style="width:30%"></div> <div class="yellow progressbar" style="width:45%"></div> </div> <div class="container"> <div class="blue progressbar" style="width:10%"></div> <div class="green progressbar" style="width:50%"></div> <div class="red progressbar" style="width:40%"></div> </div> <!-- Multicolored Progress Bars STARTS --> <br /> <!-- Striped Progress Bars STARTS --> <h3>Striped Progress Bar</h3> <div class="container striped"> <div class="red progressbar" style="width:80%"></div> </div> <div class="container striped"> <div class="progressbar green" style="width:40%"></div> </div> <!-- Striped Progress Bars ENDS --> <br /> <!-- Striped Progress Bars STARTS --> <h3>Gradient Progress Bar</h3> <div class="container gradient"> <div class="yellow progressbar" style="width:25%"></div> </div> <div class="container gradient"> <div class="progressbar blue" style="width:75%"></div> </div> <!-- Striped Progress Bars ENDS --> <br /> <h6>© Codelator.com, All rights reserved.</h6> </body> </html>
HTML
body{ background-color:#444; width:50%; margin:50px auto; color:#fff } h3,h6{ text-align:center; font-family:Tahoma, Geneva, sans-serif } /* Code for Animation STARTS */ @-webkit-keyframes bars{ from{ background-position:40px 0 } to { background-position:0 0 } } @keyframes bars{ from{ background-position:40px 0 } to { background-position:0 0 } } /* Code for Animation ENDS */ /* Container for Progress Bar STARTS */ .container{ background-color:#F1F1F1; border-radius:10px; height:15px; overflow:hidden; margin-bottom:15px; } /* Container for Progress Bar ENDS */ /* Progress Bar STARTS */ .progressbar{ height:100%; width:0%; float:left; } /* Progress Bar ENDS */ /* Colors STARTS*/ .red{background-color:#C33} .blue{background-color:#09F} .green{background-color:#6F0} .yellow{background-color:#FC0} .orange{background-color:#F60} /* Colors ENDS*/ .container.active .progressbar{ -webkit-animation:bars 5s linear infinite; animation:bars 5s linear infinite; } .striped .progressbar{ background-size:40px 40px; background-image:linear-gradient(135deg, #fff 50%, transparent 50%, transparent 50%, #fff 50%, rgba(255,255,255) 50%, transparent 50%, transparent); background-image:-webkit-linear-gradient(135deg, #fff 50%, transparent 50%, transparent 50%, #fff 50%,#fff 50%, transparent 50%, transparent); } .striped .red{ background-image:-webkit-linear-gradient(90deg, #F33 25%, transparent 25%, transparent 50%, #F33 50%, #F33 75%, transparent 75%, transparent); background-image:linear-gradient(90deg, #F33 25%, transparent 25%, transparent 50%, #F33 50%, #F33 75%, transparent 75%, transparent); } .striped .blue{ background-image:-webkit-linear-gradient(135deg, #0CF 25%, transparent 25%, transparent 50%, #0CF 50%, #0CF 75%, transparent 75%, transparent); background-image:linear-gradient(135deg, #0CF 25%, transparent 25%, transparent 50%, #0CF 50%, #0CF 75%, transparent 75%, transparent); } .striped .green{ background-image:-webkit-linear-gradient(135deg, #6C0 25%, transparent 25%, transparent 50%, #6C0 50%, #6C0 75%, transparent 75%, transparent); background-image:linear-gradient(135deg, #6C0 25%, transparent 25%, transparent 50%, #6C0 50%, #6C0 75%, transparent 75%, transparent); } .gradient .yellow{ background-image:-webkit-linear-gradient(#FC6,#FF6); background-image:linear-gradient(#FC6,#FF6); } .gradient .blue{ background-image:-webkit-linear-gradient(#06F,#0CF); background-image:linear-gradient(#06F,#0CF); }
CSS
JS
Loading....
Preview
×
Sign In
Register
Sign In
Login with Google
Sign In
Join CodeChunk
It's free.
Join with Google