Advertisement
Guest User

Untitled

a guest
Aug 2nd, 2015
226
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.21 KB | None | 0 0
  1. .line {
  2. stroke-dasharray: 650;
  3. stroke-dashoffset: 650;
  4. animation: offset 3s linear forwards;
  5. }
  6. .circle {
  7. stroke-dasharray: 230;
  8. stroke-dashoffset: 230;
  9. animation: offset 3s linear forwards;
  10.  
  11. }
  12.  
  13.  
  14. /*========================
  15. * KEYFRAMES
  16. */
  17.  
  18. @keyframes offset {
  19. 100% {
  20. stroke-dashoffset: 0;
  21.  
  22. }
  23. }
  24.  
  25.  
  26. <svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="577px"
  27. height="74px" viewBox="0 0 577 74" enable-background="new 0 0 577 74" xml:space="preserve">
  28. <g id="Layer_1">
  29. <line class="line" fill="none" stroke="#000000" stroke-width="2" x1="0" y1="37" x2="504" y2="37"/>
  30. <circle class="circle" fill="none" stroke="#000000" stroke-width="2" cx="540" cy="37" r="36"/>
  31. <circle fill="none" stroke="#000000" stroke-width="2" cx="540" cy="37" r="18"/>
  32. </g>
  33. </svg>
  34.  
  35. transform="rotate(<angle>)"
  36.  
  37. <style>
  38. .line {
  39. stroke-dasharray: 650;
  40. stroke-dashoffset: 650;
  41. animation: offset 3s linear forwards;
  42. }
  43. .circle {
  44. stroke-dasharray: 230;
  45. stroke-dashoffset: 230;
  46. animation: offset 3s linear forwards;
  47.  
  48. }
  49.  
  50.  
  51. /*========================
  52. * KEYFRAMES
  53. */
  54.  
  55. @keyframes offset {
  56. 100% {
  57. stroke-dashoffset: 0;
  58.  
  59. }
  60. }
  61. .line {
  62. stroke-dasharray: 650;
  63. stroke-dashoffset: 650;
  64. animation: offset 3s linear forwards;
  65. }
  66. .circle {
  67. stroke-dasharray: 230;
  68. stroke-dashoffset: 230;
  69. animation: offset 3s linear forwards;
  70.  
  71. }
  72.  
  73.  
  74. /*========================
  75. * KEYFRAMES
  76. */
  77.  
  78. @keyframes offset {
  79. 100% {
  80. stroke-dashoffset: 0;
  81.  
  82. }
  83. }
  84. </style>
  85. <body>
  86. <svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="577px"
  87. height="774px" viewBox="0 0 577 74" enable-background="new 0 0 577 74" xml:space="preserve">
  88. <g id="Layer_1">
  89. <line class="line" fill="none" stroke="#000000" stroke-width="2" x1="0" y1="37" x2="504" y2="37"/>
  90. <circle class="circle" fill="none" stroke="#000000" stroke-width="2" cx="540" cy="37" r="36" transform="rotate(180 540 37)"/>
  91. <circle fill="none" stroke="#000000" stroke-width="2" cx="540" cy="37" r="18"
  92. />
  93. </g>
  94. </svg>
  95. </body>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement