Advertisement
ahmadandika

_loader.scss

Aug 18th, 2019
145
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.72 KB | None | 0 0
  1. .lds-dual-ring {
  2. display: inline-block;
  3. width: 30px;
  4. height: 15px;
  5. }
  6. .lds-dual-ring:after {
  7. content: ' ';
  8. display: block;
  9. width: 20px;
  10. height: 20px;
  11. margin: 1px;
  12. border-radius: 50%;
  13. border: 2px solid #fff;
  14. border-color: #fff transparent #fff transparent;
  15. animation: lds-dual-ring 1.2s linear infinite;
  16. }
  17. @keyframes lds-dual-ring {
  18. 0% {
  19. transform: rotate(0deg);
  20. }
  21. 100% {
  22. transform: rotate(360deg);
  23. }
  24. }
  25.  
  26. .loader-content {
  27. position: absolute;
  28. top: 0;
  29. bottom: 0;
  30. left: 0;
  31. right: 0;
  32. margin: auto;
  33. text-align: center;
  34. height: 50px;
  35. width: 50px;
  36. background: rgba(0, 0, 0, 0.28);
  37. .lds-dual-ring {
  38. margin-top: 10px;
  39. margin-left: 5px;
  40. }
  41. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement