Guest User

Untitled

a guest
Jun 18th, 2018
181
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.20 KB | None | 0 0
  1. /*
  2. * Author:- Ronit Mukherjee <connect.ronit@gmail.com> [ronitmukherjee.com]
  3. * CreatedOn:- 16-06-2018
  4. */
  5. .with-loader{
  6. position: relative;
  7. width: 100%;
  8. height: 100%;
  9. z-index: 1;
  10. }
  11. .with-loader .loader{
  12. background-color: rgba(255,255,255,0.5);
  13. height: 100%;
  14. position: absolute;
  15. width: 100%;
  16. z-index: 999;
  17. }
  18. .lds-ring {
  19. display: inline-block;
  20. position: relative;
  21. width: 64px;
  22. height: 64px;
  23. position:absolute;
  24. /*it can be fixed too*/
  25. left:0;
  26. right:0;
  27. top:0;
  28. bottom:0;
  29. margin:auto;
  30. }
  31. .lds-ring div {
  32. box-sizing: border-box;
  33. display: block;
  34. position: absolute;
  35. width: 51px;
  36. height: 51px;
  37. margin: 6px;
  38. border: 6px solid #666666;
  39. border-radius: 50%;
  40. animation: lds-ring 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
  41. border-color: #666666 transparent transparent transparent;
  42. }
  43. .lds-ring div:nth-child(1) {
  44. animation-delay: -0.45s;
  45. }
  46. .lds-ring div:nth-child(2) {
  47. animation-delay: -0.3s;
  48. }
  49. .lds-ring div:nth-child(3) {
  50. animation-delay: -0.15s;
  51. }
  52. @keyframes lds-ring {
  53. 0% {
  54. transform: rotate(0deg);
  55. }
  56. 100% {
  57. transform: rotate(360deg);
  58. }
  59. }
Add Comment
Please, Sign In to add comment