Guest User

Untitled

a guest
Nov 23rd, 2017
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.03 KB | None | 0 0
  1. $(window).on('load', function(){
  2. $( "#preloader" ).fadeOut(1000);
  3. });
  4.  
  5. #
  6.  
  7. #preloader
  8. .preloader-circle
  9. .preloader-circle
  10. .preloader-circle
  11.  
  12. #
  13.  
  14. #preloader
  15. z-index: 99
  16. position: fixed
  17. top: 0
  18. left: 0
  19. right: 0
  20. bottom: 0
  21. transform: translateZ(0)
  22. background-color: #000b1d
  23. .preloader-circle
  24. position: absolute
  25. top: 50%
  26. left: 50%
  27. border-radius: 50%
  28. background-color: #243447
  29.  
  30. will-change: transform
  31. animation:
  32. duration: 2s
  33. direction: alternate
  34. iteration-count: infinite
  35. timing-function: ease-in-out
  36. fill-mode: forwards
  37.  
  38. &:nth-child(1)
  39. width: 15vw
  40. height: 15vw
  41. min-width: 150px
  42. min-height: 150px
  43. box-shadow: 0 0 30px #3BD5A9
  44. animation:
  45. name: loaderCircle-1
  46.  
  47. @keyframes loaderCircle-1
  48. 0%
  49. transform: translate(-50%, -50%) scale(1)
  50.  
  51. 25%
  52. transform: translate(-50%, -50%) scale(1.3)
  53.  
  54. 50%
  55. transform: translate(-50%, -50%) scale(.7)
  56. box-shadow: 0 0 50px #3BD5A9
  57.  
  58. 75%
  59. transform: translate(-50%, -50%) scale(1.2)
  60.  
  61. 100%
  62. transform: translate(-50%, -50%) scale(.7)
  63.  
  64. &:nth-child(2)
  65. width: 10vw
  66. height: 10vw
  67. min-width: 100px
  68. min-height: 100px
  69. box-shadow: 0 0 20px #3BD5A9
  70. animation:
  71. name: loaderCircle-2
  72.  
  73. @keyframes loaderCircle-2
  74. 0%
  75. transform: translate(-50%, -50%) scale(1)
  76.  
  77. 25%
  78. transform: translate(-50%, -50%) scale(.7)
  79.  
  80. 50%
  81. transform: translate(-50%, -50%) scale(1.3)
  82. box-shadow: 0 0 40px #3BD5A9
  83.  
  84. 75%
  85. transform: translate(-50%, -50%) scale(1)
  86.  
  87. 100%
  88. transform: translate(-50%, -50%) scale(.7)
  89.  
  90. &:nth-child(3)
  91. width: 5vw
  92. height: 5vw
  93. min-width: 50px
  94. min-height: 50px
  95. box-shadow: 0 0 10px #3BD5A9
  96. animation:
  97. name: loaderCircle-3
  98.  
  99. @keyframes loaderCircle-3
  100. 0%
  101. transform: translate(-50%, -50%) scale(1)
  102.  
  103. 25%
  104. transform: translate(-50%, -50%) scale(1.3)
  105.  
  106. 50%
  107. transform: translate(-50%, -50%) scale(.7)
  108. box-shadow: 0 0 30px #3BD5A9
  109.  
  110. 75%
  111. transform: translate(-50%, -50%) scale(1.2)
  112.  
  113. 100%
  114. transform: translate(-50%, -50%) scale(1)
Add Comment
Please, Sign In to add comment