Advertisement
Guest User

Untitled

a guest
Mar 29th, 2015
202
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.63 KB | None | 0 0
  1. <body bgcolor="#1a1a1a">
  2. <div id="holder">
  3. <div class="dot"></div>
  4. <div class="pulse"></div>
  5. </div>
  6.  
  7. #holder {
  8. margin: 50px auto;
  9. width: 50px;
  10. height: 50px;
  11. position: relative;
  12.  
  13. }
  14. .pulse {
  15. width: 10px;
  16. height: 10px;
  17. border: 5px solid #f7f14c;
  18. -webkit-border-radius: 30px;
  19. -moz-border-radius: 30px;
  20. border-radius: 30px;
  21. background-color: #716f42;
  22. z-index: 10;
  23. position: absolute;
  24. left: 15px;
  25. top: 15px;
  26. }
  27. .dot {
  28. border: 10px solid #fff601;
  29. background: transparent;
  30. -webkit-border-radius: 60px;
  31. -moz-border-radius: 60px;
  32. border-radius: 60px;
  33. height: 50px;
  34. width: 50px;
  35. -webkit-animation: pulse 3s ease-out;
  36. -moz-animation: pulse 3s ease-out;
  37. animation: pulse 3s ease-out;
  38. -webkit-animation-iteration-count: infinite;
  39. -moz-animation-iteration-count: infinite;
  40. animation-iteration-count: infinite;
  41. position: absolute;
  42. top: -10px;
  43. left: -10px;
  44. z-index: 1;
  45. opacity: 0;
  46. }
  47. @-moz-keyframes pulse {
  48. 0% {
  49. -moz-transform: scale(0);
  50. opacity: 0.0;
  51. }
  52. 25% {
  53. -moz-transform: scale(0);
  54. opacity: 0.1;
  55. }
  56. 50% {
  57. -moz-transform: scale(0.1);
  58. opacity: 0.3;
  59. }
  60. 75% {
  61. -moz-transform: scale(0.5);
  62. opacity: 0.5;
  63. }
  64. 100% {
  65. -moz-transform: scale(1);
  66. opacity: 0.0;
  67. }
  68. }
  69. @-webkit-keyframes "pulse" {
  70. 0% {
  71. -webkit-transform: scale(0);
  72. opacity: 0.0;
  73. }
  74. 25% {
  75. -webkit-transform: scale(0);
  76. opacity: 0.1;
  77. }
  78. 50% {
  79. -webkit-transform: scale(0.1);
  80. opacity: 0.3;
  81. }
  82. 75% {
  83. -webkit-transform: scale(0.5);
  84. opacity: 0.5;
  85. }
  86. 100% {
  87. -webkit-transform: scale(1);
  88. opacity: 0.0;
  89. }
  90. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement