Advertisement
Guest User

Untitled

a guest
Jan 20th, 2017
94
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.69 KB | None | 0 0
  1. <a href="#" class="money_btn">
  2. <i class="fa fa-money" aria-hidden="true"></i>
  3. </a>
  4.  
  5. <style>
  6. .money_btn {
  7. display: block;
  8. width: 80px;
  9. height: 80px;
  10. border-radius: 100%;
  11. color: #fff;
  12. background: #ff007a;
  13. text-align: center;
  14. line-height: 80px;
  15. font-size: 36px;
  16. position: fixed;
  17. left: 50px;
  18. bottom: 50px;
  19. box-shadow: 0 2px 2px 0 rgba(0,0,0,0.14), 0 1px 5px 0 rgba(0,0,0,0.12), 0 3px 1px -2px rgba(0,0,0,0.2);
  20. -webkit-transform: rotate(-52deg);
  21. -moz-transform: rotate(-52deg);
  22. -ms-transform: rotate(-52deg);
  23. -o-transform: rotate(-52deg);
  24. transform: rotate(-52deg);
  25. transition: all .25s ease;
  26. animation-name: bumbum;
  27. animation-duration: 1.5s;
  28. animation-iteration-count: infinite;
  29. animation-timing-function: linear;
  30. -webkit-transition: all .25s ease;
  31. -moz-transition: all .25s ease;
  32. -ms-transition: all .25s ease;
  33. -o-transition: all .25s ease;
  34. transition: all .25s ease;
  35. }
  36. .money_btn:hover,.money_btn:focus,.money_btn:active {
  37. color:#fff;
  38. text-decoration: none;
  39. background: #ff003b;
  40. bottom: 60px;
  41. }
  42. @keyframes bumbum {
  43. 0%,100% {
  44. -webkit-transform: rotate(52deg);
  45. -moz-transform: rotate(52deg);
  46. -ms-transform: rotate(52deg);
  47. -o-transform: rotate(52deg);
  48. transform: rotate(52deg)
  49. }
  50.  
  51. 50% {
  52. -webkit-transform: rotate(-52deg);
  53. -moz-transform: rotate(-52deg);
  54. -ms-transform: rotate(-52deg);
  55. -o-transform: rotate(-52deg);
  56. transform: rotate(-52deg)
  57. }
  58. }
  59. </style>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement