Last active
August 29, 2015 13:56
-
-
Save AlexandreBroudin/9197840 to your computer and use it in GitHub Desktop.
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 width="76px" height="16px" xmlns="http://www.w3.org/2000/svg"> | |
<g id="loader" > | |
<circle cx="10" cy="10" r="5" stroke="#FFFFFF" stroke-width="2" fill="#1985D3" opacity="0"> | |
<animate id="Circle1" attributeName="opacity" from="0" to="1" dur=".3s" begin=".3s; Circle4.end" fill="freeze"/> | |
<animate attributeName="opacity" from="1" to="0" dur=".3s" begin="Circle4.end" /> | |
</circle> | |
<circle cx="30" cy="10" r="5" stroke="#FFFFFF" stroke-width="2" fill="#F75562" opacity="0"> | |
<animate id="Circle2" attributeName="opacity" from="0" to="1" dur=".3s" begin="Circle1.end" fill="freeze" /> | |
<animate attributeName="opacity" from="1" to="0" dur=".3s" begin="Circle4.end" /> | |
</circle> | |
<circle cx="50" cy="10" r="5" stroke="#FFFFFF" stroke-width="2" fill="#6FBC46" opacity="0"> | |
<animate id="Circle3" attributeName="opacity" from="0" to="1" dur=".3s" begin="Circle2.end" fill="freeze" /> | |
<animate attributeName="opacity" from="1" to="0" dur=".3s" begin="Circle4.end" /> | |
</circle> | |
<circle cx="70" cy="10" r="5" stroke="#FFFFFF" stroke-width="2" fill="#FBE300" opacity="0"> | |
<animate id="Circle4" attributeName="opacity" from="0" to="1" dur=".3s" begin="Circle3.end" fill="freeze" /> | |
<animate attributeName="opacity" from="1" to="0" dur=".3s" begin="Circle4.end" /> | |
</circle> | |
</g> | |
</svg> |
Ha oui pas mal, du coup tu joue avec les values, j'ai update le miens en jouant plutot avec une autre animation. mais je garde ton code de coté, merci à toi :)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
peut-être quelquechose comme ça ?