Skip to content

Instantly share code, notes, and snippets.

@elijahmanor
Created October 11, 2018 04:49
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 elijahmanor/85daf8d9eaa7a0877cc5d6eee7ba497c to your computer and use it in GitHub Desktop.
Save elijahmanor/85daf8d9eaa7a0877cc5d6eee7ba497c to your computer and use it in GitHub Desktop.
Medium Article: SVG Component - App.css Code Snippet
.App-logo {
animation: App-logo-spin infinite 20s linear;
height: 40vmin;
}
.App-logo g {
fill: salmon;
}
.App-logo path {
stroke: palegoldenrod;
stroke-width: 10px;
fill: none;
stroke-dasharray: 35px 15px;
animation: orbit 1s infinite linear;
}
@keyframes orbit { to { stroke-dashoffset: 50px; } }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment