Advertisement
SergioG_0823849

Untitled

Apr 22nd, 2024
575
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 0.73 KB | None | 0 0
  1. .spinner {
  2.      animation: rotator 1.4s linear infinite;
  3. }
  4.  @keyframes rotator {
  5.      0% {
  6.          transform: rotate(0deg);
  7.     }
  8.      100% {
  9.          transform: rotate(270deg);
  10.     }
  11. }
  12.  .path {
  13.      stroke-dasharray: 187;
  14.      stroke-dashoffset: 0;
  15.      transform-origin: center;
  16.      animation: dash 1.4s ease-in-out infinite, colors 5.6s ease-in-out infinite;
  17. }
  18.  @keyframes colors {
  19.      0% {
  20.          stroke: #4285f4;
  21.     }
  22.      25% {
  23.          stroke: #de3e35;
  24.     }
  25.      50% {
  26.          stroke: #f7c223;
  27.     }
  28.      75% {
  29.          stroke: #1b9a59;
  30.     }
  31.      100% {
  32.          stroke: #4285f4;
  33.     }
  34. }
  35.  @keyframes dash {
  36.      0% {
  37.          stroke-dashoffset: 187;
  38.     }
  39.      50% {
  40.          stroke-dashoffset: 46.75;
  41.          transform: rotate(135deg);
  42.     }
  43.      100% {
  44.          stroke-dashoffset: 187;
  45.          transform: rotate(450deg);
  46.     }
  47. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement