Skip to content

Instantly share code, notes, and snippets.

@gfarrell
Created May 12, 2014 12:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gfarrell/a87aafd6bff9f21823ff to your computer and use it in GitHub Desktop.
Save gfarrell/a87aafd6bff9f21823ff to your computer and use it in GitHub Desktop.
Round progress indicator
/**
* 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;
}
<div class="round-progress-indicator centre"><span></span><span></span><span></span><span></span></div>
{"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