Created
January 15, 2020 22:21
-
-
Save tregoning/4b8b0cace48189038ada6a46c06cc639 to your computer and use it in GitHub Desktop.
squiggly.svg
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
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:ev="http://www.w3.org/2001/xml-events" viewBox="0 0 20 4"> | |
<path fill="none" stroke="#000000" stroke-width="1" class="st0" d="M0,3.5 c 5,0, 5, -3, 10, -3 s 5,3, 10, 3 c 5,0, 5, -3, 10, -3 s 5,3, 10, 3" /> | |
<style type="text/css"> | |
.st0 { | |
animation: shift 0.3s linear infinite; | |
} | |
@keyframes shift { | |
from { | |
transform: translateX(0); | |
} | |
to { | |
transform: translateX(-20px); | |
} | |
} | |
@media (prefers-reduced-motion: reduce) { | |
.st0 { | |
animation: none; | |
} | |
} | |
</style> | |
</svg> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment