Created
May 12, 2014 12:09
-
-
Save gfarrell/a87aafd6bff9f21823ff to your computer and use it in GitHub Desktop.
Round progress indicator
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
/** | |
* Round progress indicator | |
*/ | |
.round-progress-indicator { | |
width:150px; | |
height: 150px; | |
} | |
.round-progress-indicator span { | |
width: 100%; | |
height: 100%; | |
border-radius: 50%; | |
border: #CCC 10px solid; | |
position: absolute; | |
border-top: #7fa39f 10px solid; | |
} | |
html, body {width: 100%; height: 100%} | |
.centre { | |
position: absolute; | |
top: 0; | |
left: 0; | |
bottom: 0; | |
right: 0; | |
margin: auto; | |
} |
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="round-progress-indicator centre"><span></span><span></span><span></span><span></span></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
{"view":"split-vertical","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