Advertisement
Guest User

Untitled

a guest
Feb 11th, 2020
155
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.81 KB | None | 0 0
  1. section#loading {
  2. height: 100vh;
  3. width: 100vw;
  4. display: flex;
  5. justify-content: center;
  6. align-items: center;
  7. position: fixed;
  8. top: 0;
  9. left: 0;
  10. bottom: 0;
  11. right: 0;
  12. z-index: 101;
  13. background-color: #F1F3F6;
  14. }
  15. section#loading div.circle {
  16. background-image: linear-gradient(90deg, #F800FF 0%, #3100FF 100%);
  17. width: 0vw;
  18. height: 0vw;
  19. transition: all .3s ease-in-out;
  20. -webkit-transition: all .3s ease-in-out;
  21. }
  22. .fullwidth {animation: fullwidth 1.5s;-webkit-animation: fullwidth 1.5s;}
  23. @keyframes fullwidth {
  24. 0% {width: 20vw; height: 20vw;}
  25. 10% {width: 100vw; height: 100vh;}
  26. 95% {width: 100vw; height: 100vh;}
  27. 100% {width: 0vw; height: 100vh;}
  28. }
  29. .j2hide {animation: j2hide 1.5s; -webkit-animation: j2hide 1.5s;}
  30. @keyframes j2hide {
  31. 0%, 80% {opacity: 1;}
  32. 90%, 100% {opacity: 0;}
  33. }
  34. .spin {animation: spin 1s; -webkit-animation: spin 1.5s;}
  35. @keyframes spin {
  36. 0% {transform: rotate(0deg); border-radius: 0%; width: 20vw; height: 20vw;}
  37. 50% {border-radius: 50%;}
  38. 100% {transform: rotate(360deg); border-radius: 0%; width: 20vw; height: 20vw;}
  39. }
  40. section#loading img {
  41. width: 10vw;
  42. position: absolute;
  43. top: 50%;
  44. left: 50%;
  45. transform: translate(-50%, -50%);
  46. }
  47. @media screen and (max-width: 900px) {
  48. @keyframes fullwidth {
  49. 0% {width: 30vw; height: 30vw;}
  50. 10% {width: 100vw; height: 100vh;}
  51. 95% {width: 100vw; height: 100vh;}
  52. 100% {width: 0vw; height: 100vh;}
  53. }
  54. @keyframes spin {
  55. 0% {transform: rotate(0deg); border-radius: 0%; width: 30vw; height: 30vw;}
  56. 50% {border-radius: 50%;}
  57. 100% {transform: rotate(360deg); border-radius: 0%; width: 30vw; height: 30vw;}
  58. }
  59. section#loading img {
  60. width: 15vw;
  61. }
  62. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement