Jakeukalane

svg loading animated

Jul 6th, 2017
116
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.18 KB | None | 0 0
  1. <svg width="32px" height="32px" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" preserveAspectRatio="xMidYMid" id="loadingSpinner" style="position: absolute; left: 50%; top: 50%; margin: -16px 0 0 -16px;">
  2.  
  3. <g>
  4. <circle cx="20" cy="12" r="4" fill="#2d83bd"></circle>
  5. <path fill="#2d83bd" fill-opacity="0.7" d="M20,8c1.11,0,2.11,0.45,2.83,1.18c0.26-0.96,0.17-2-0.34-2.94c-1.05-1.94-3.48-2.66-5.42-1.61
  6. c-1.94,1.05-2.66,3.48-1.61,5.42c0.19,0.35,0.43,0.64,0.69,0.9C16.62,9.25,18.16,8,20,8z"></path>
  7. <path fill="#2d83bd" fill-opacity="0.4" d="M17.07,4.62c0.97-0.53,2.07-0.61,3.05-0.31c-0.23-0.97-0.81-1.85-1.71-2.44
  8. c-1.86-1.2-4.33-0.67-5.53,1.19c-1.2,1.86-0.67,4.33,1.19,5.53c0.33,0.21,0.68,0.35,1.03,0.46C14.7,7.33,15.45,5.5,17.07,4.62z"></path>
  9. <path fill="#2d83bd" fill-opacity="0.1" d="M12.88,3.06c0.61-0.94,1.54-1.53,2.55-1.74c-0.66-0.74-1.58-1.24-2.64-1.32
  10. c-2.2-0.18-4.13,1.46-4.31,3.66s1.46,4.13,3.66,4.31C12.52,8,12.9,7.95,13.27,7.88C12.1,6.57,11.88,4.6,12.88,3.06z"></path>
  11.  
  12. <animateTransform attributeName="transform" type="rotate" from="0 12 12" to="360 12 12" begin="0s" dur="0.5s" repeatCount="indefinite"></animateTransform>
  13. </g>
  14. </svg>
Advertisement
Add Comment
Please, Sign In to add comment