Plexcon

Untitled

Feb 29th, 2016
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.50 KB | None | 0 0
  1. .fire-animation{
  2. animation: animationFramesfire linear 4s;
  3. animation-iteration-count: 1;
  4. transform-origin: 50% 50%;
  5. -webkit-animation: animationFramesfire linear 4s;
  6. -webkit-animation-iteration-count: 1;
  7. -webkit-transform-origin: 50% 50%;
  8. -moz-animation: animationFramesfire linear 4s;
  9. -moz-animation-iteration-count: 1;
  10. -moz-transform-origin: 50% 50%;
  11. -o-animation: animationFramesfire linear 4s;
  12. -o-animation-iteration-count: 1;
  13. -o-transform-origin: 50% 50%;
  14. -ms-animation: animationFramesfire linear 4s;
  15. -ms-animation-iteration-count: 1;
  16. -ms-transform-origin: 50% 50%;
  17. }
  18.  
  19. @keyframes animationFramesfire{
  20. 0% {
  21. transform: translate(0px,0px) ;
  22. }
  23. 4% {
  24. transform: translate(-40px,0px) ;
  25. }
  26. 8% {
  27. transform: translate(-10px,0px) ;
  28. }
  29. 12% {
  30. transform: translate(-40px,0px) ;
  31. }
  32. 15% {
  33. transform: translate(0px,0px) ;
  34. }
  35. 100% {
  36. transform: translate(0px,0px) ;
  37. }
  38. }
  39.  
  40. @-moz-keyframes animationFramesfire{
  41. 0% {
  42. -moz-transform: translate(0px,0px) ;
  43. }
  44. 4% {
  45. -moz-transform: translate(-40px,0px) ;
  46. }
  47. 8% {
  48. -moz-transform: translate(-10px,0px) ;
  49. }
  50. 12% {
  51. -moz-transform: translate(-40px,0px) ;
  52. }
  53. 15% {
  54. -moz-transform: translate(0px,0px) ;
  55. }
  56. 100% {
  57. -moz-transform: translate(0px,0px) ;
  58. }
  59. }
  60.  
  61. @-webkit-keyframes animationFramesfire {
  62. 0% {
  63. -webkit-transform: translate(0px,0px) ;
  64. }
  65. 4% {
  66. -webkit-transform: translate(-40px,0px) ;
  67. }
  68. 8% {
  69. -webkit-transform: translate(-10px,0px) ;
  70. }
  71. 12% {
  72. -webkit-transform: translate(-40px,0px) ;
  73. }
  74. 15% {
  75. -webkit-transform: translate(0px,0px) ;
  76. }
  77. 100% {
  78. -webkit-transform: translate(0px,0px) ;
  79. }
  80. }
  81.  
  82. @-o-keyframes animationFramesfire {
  83. 0% {
  84. -o-transform: translate(0px,0px) ;
  85. }
  86. 4% {
  87. -o-transform: translate(-40px,0px) ;
  88. }
  89. 8% {
  90. -o-transform: translate(-10px,0px) ;
  91. }
  92. 12% {
  93. -o-transform: translate(-40px,0px) ;
  94. }
  95. 15% {
  96. -o-transform: translate(0px,0px) ;
  97. }
  98. 100% {
  99. -o-transform: translate(0px,0px) ;
  100. }
  101. }
  102.  
  103. @-ms-keyframes animationFramesfire {
  104. 0% {
  105. -ms-transform: translate(0px,0px) ;
  106. }
  107. 4% {
  108. -ms-transform: translate(-40px,0px) ;
  109. }
  110. 8% {
  111. -ms-transform: translate(-10px,0px) ;
  112. }
  113. 12% {
  114. -ms-transform: translate(-40px,0px) ;
  115. }
  116. 15% {
  117. -ms-transform: translate(0px,0px) ;
  118. }
  119. 100% {
  120. -ms-transform: translate(0px,0px) ;
  121. }
  122. }
Advertisement
Add Comment
Please, Sign In to add comment