Created
August 19, 2013 01:05
-
-
Save lucasad/6264977 to your computer and use it in GitHub Desktop.
Indeterminate progress bar
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Indeterminate progress bar | |
*/ | |
@import url('http://netdna.bootstrapcdn.com/bootstrap/3.0.0-rc1/css/bootstrap.min.css'); | |
@keyframes push | |
{ | |
0% {width: 0%;} | |
50% {width: 70%;} | |
100% {width: 0%;} | |
} | |
.push { | |
border-radius: 0.25em; | |
animation: push 2s linear infinite; | |
height:100%; | |
float:left; | |
} | |
.progress-bar { | |
border-radius:0.25em; | |
} | |
.container { | |
width:300px; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="container"> | |
<div class="progress progress-striped active"> | |
<div class="push"></div> | |
<div class="progress-bar progress-bar" style="width: 30%;"></div> | |
</div> | |
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// alert('Hello world!'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"view":"split","fontsize":"100","seethrough":"","prefixfree":"1","page":"all"} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment