Skip to content

Instantly share code, notes, and snippets.

@Pazzilivo
Last active December 19, 2015 18:19
Show Gist options
  • Save Pazzilivo/5997973 to your computer and use it in GitHub Desktop.
Save Pazzilivo/5997973 to your computer and use it in GitHub Desktop.
Chrome-style progress-indicator with SVG and CSS animations
/**
* Attempt for Chrome-style progress-indicator with SVG and CSS animations
*/
@keyframes spin {
to {
stroke-dashoffset: -264;
}
}
.progress circle {
fill: none;
stroke: slategray;
stroke-width: 16;
stroke-linecap: round;
stroke-dasharray: 0, 0, 50, 214;
stroke-dashoffset: 0;
animation: spin 3s infinite linear;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment