Guest User

Untitled

a guest
May 27th, 2016
48
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.50 KB | None | 0 0
  1. <style>
  2. /* ---------------------------------------------- /*
  3. * Mouse animate icon
  4. /* ---------------------------------------------- */
  5. .mouse-icon {
  6. border: 2px solid #000;
  7. border-radius: 16px;
  8. height: 40px;
  9. width: 24px;
  10. display: block;
  11. z-index: 10;
  12. opacity: 0.7;
  13. }
  14. .mouse-icon .wheel {
  15. -webkit-animation-name: drop;
  16. -webkit-animation-duration: 1s;
  17. -webkit-animation-timing-function: linear;
  18. -webkit-animation-delay: 0s;
  19. -webkit-animation-iteration-count: infinite;
  20. -webkit-animation-play-state: running;
  21. -webkit-animation-name: drop;
  22. animation-name: drop;
  23. -webkit-animation-duration: 1s;
  24. animation-duration: 1s;
  25. -webkit-animation-timing-function: linear;
  26. animation-timing-function: linear;
  27. -webkit-animation-delay: 0s;
  28. animation-delay: 0s;
  29. -webkit-animation-iteration-count: infinite;
  30. animation-iteration-count: infinite;
  31. -webkit-animation-play-state: running;
  32. animation-play-state: running;
  33. }
  34. .mouse-icon .wheel {
  35. position: relative;
  36. border-radius: 10px;
  37. background: #000;
  38. width: 2px;
  39. height: 6px;
  40. top: 4px;
  41. margin-left: auto;
  42. margin-right: auto;
  43. }
  44. @-webkit-keyframes drop {
  45. 0% {
  46. top: 5px;
  47. opacity: 0;
  48. }
  49. 30% {
  50. top: 10px;
  51. opacity: 1;
  52. }
  53. 100% {
  54. top: 25px;
  55. opacity: 0;
  56. }
  57. }
  58. @keyframes drop {
  59. 0% {
  60. top: 5px;
  61. opacity: 0;
  62. }
  63. 30% {
  64. top: 10px;
  65. opacity: 1;
  66. }
  67. 100% {
  68. top: 25px;
  69. opacity: 0;
  70. }
  71. }
  72. </style>
  73.  
  74. <div class="mouse-icon"><div class="wheel"></div></div>
Add Comment
Please, Sign In to add comment