Shopping List v2.0
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

LoadingIcon.svelte 1.6KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  1. <style>
  2. .lds-default {
  3. display: inline-block;
  4. position: relative;
  5. width: 64px;
  6. height: 64px;
  7. }
  8. .lds-default div {
  9. position: absolute;
  10. width: 5px;
  11. height: 5px;
  12. background: #fff;
  13. border-radius: 50%;
  14. animation: lds-default 1.2s linear infinite;
  15. }
  16. .lds-default div:nth-child(1) {
  17. animation-delay: 0s;
  18. top: 29px;
  19. left: 53px;
  20. }
  21. .lds-default div:nth-child(2) {
  22. animation-delay: -0.1s;
  23. top: 18px;
  24. left: 50px;
  25. }
  26. .lds-default div:nth-child(3) {
  27. animation-delay: -0.2s;
  28. top: 9px;
  29. left: 41px;
  30. }
  31. .lds-default div:nth-child(4) {
  32. animation-delay: -0.3s;
  33. top: 6px;
  34. left: 29px;
  35. }
  36. .lds-default div:nth-child(5) {
  37. animation-delay: -0.4s;
  38. top: 9px;
  39. left: 18px;
  40. }
  41. .lds-default div:nth-child(6) {
  42. animation-delay: -0.5s;
  43. top: 18px;
  44. left: 9px;
  45. }
  46. .lds-default div:nth-child(7) {
  47. animation-delay: -0.6s;
  48. top: 29px;
  49. left: 6px;
  50. }
  51. .lds-default div:nth-child(8) {
  52. animation-delay: -0.7s;
  53. top: 41px;
  54. left: 9px;
  55. }
  56. .lds-default div:nth-child(9) {
  57. animation-delay: -0.8s;
  58. top: 50px;
  59. left: 18px;
  60. }
  61. .lds-default div:nth-child(10) {
  62. animation-delay: -0.9s;
  63. top: 53px;
  64. left: 29px;
  65. }
  66. .lds-default div:nth-child(11) {
  67. animation-delay: -1s;
  68. top: 50px;
  69. left: 41px;
  70. }
  71. .lds-default div:nth-child(12) {
  72. animation-delay: -1.1s;
  73. top: 41px;
  74. left: 50px;
  75. }
  76. @keyframes lds-default {
  77. 0%, 20%, 80%, 100% {
  78. transform: scale(1);
  79. }
  80. 50% {
  81. transform: scale(1.5);
  82. }
  83. }
  84. </style>
  85. <div class="lds-default">
  86. <div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div>
  87. </div>