animations.css 5.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303
  1. /**
  2. * @name animations.css
  3. * @author Tobias Reich
  4. * @copyright 2014 by Tobias Reich
  5. */
  6. /* Animation Setter ------------------------------------------------*/
  7. .fadeIn {
  8. -webkit-animation-name: fadeIn;
  9. -webkit-animation-duration: .3s;
  10. -webkit-animation-fill-mode: forwards;
  11. -webkit-animation-timing-function: cubic-bezier(0.51,.92,.24,1.15);
  12. -moz-animation-name: fadeIn;
  13. -moz-animation-duration: .3s;
  14. -moz-animation-fill-mode: forwards;
  15. -moz-animation-timing-function: cubic-bezier(0.51,.92,.24,1.15);
  16. animation-name: fadeIn;
  17. animation-duration: .3s;
  18. animation-fill-mode: forwards;
  19. animation-timing-function: cubic-bezier(0.51,.92,.24,1.15); }
  20. .fadeOut {
  21. -webkit-animation-name: fadeOut;
  22. -webkit-animation-duration: .3s;
  23. -webkit-animation-fill-mode: forwards;
  24. -webkit-animation-timing-function: cubic-bezier(0.51,.92,.24,1.15);
  25. -moz-animation-name: fadeOut;
  26. -moz-animation-duration: .3s;
  27. -moz-animation-fill-mode: forwards;
  28. -moz-animation-timing-function: cubic-bezier(0.51,.92,.24,1.15);
  29. animation-name: fadeOut;
  30. animation-duration: .3s;
  31. animation-fill-mode: forwards;
  32. animation-timing-function: cubic-bezier(0.51,.92,.24,1.15); }
  33. .contentZoomIn {
  34. -webkit-animation-name: zoomIn;
  35. -webkit-animation-duration: .2s;
  36. -webkit-animation-fill-mode: forwards;
  37. -webkit-animation-timing-function: cubic-bezier(0.51,.92,.24,1);
  38. -moz-animation-name: zoomIn;
  39. -moz-animation-duration: .2s;
  40. -moz-animation-fill-mode: forwards;
  41. -moz-animation-timing-function: cubic-bezier(0.51,.92,.24,1);
  42. animation-name: zoomIn;
  43. animation-duration: .2s;
  44. animation-fill-mode: forwards;
  45. animation-timing-function: cubic-bezier(0.51,.92,.24,1); }
  46. .contentZoomOut {
  47. -webkit-animation-name: zoomOut;
  48. -webkit-animation-duration: .2s;
  49. -webkit-animation-fill-mode: forwards;
  50. -webkit-animation-timing-function: cubic-bezier(0.51,.92,.24,1);
  51. -moz-animation-name: zoomOut;
  52. -moz-animation-duration: .2s;
  53. -moz-animation-fill-mode: forwards;
  54. -moz-animation-timing-function: cubic-bezier(0.51,.92,.24,1);
  55. animation-name: zoomOut;
  56. animation-duration: .2s;
  57. animation-fill-mode: forwards;
  58. animation-timing-function: cubic-bezier(0.51,.92,.24,1); }
  59. /* moveUp ------------------------------------------------*/
  60. @-webkit-keyframes moveUp {
  61. 0% {
  62. -webkit-transform: translateY(100px);
  63. opacity: 0;
  64. }
  65. 100% {
  66. -webkit-transform: translateY(0);
  67. opacity: 1;
  68. }
  69. }
  70. @-moz-keyframes moveUp {
  71. 0% {
  72. -moz-transform: translateY(100px);
  73. opacity: 0;
  74. }
  75. 100% {
  76. -moz-transform: translateY(0px);
  77. opacity: 1;
  78. }
  79. }
  80. @keyframes moveUp {
  81. 0% {
  82. transform: translateY(100px);
  83. opacity: 0;
  84. }
  85. 100% {
  86. transform: translateY(0);
  87. opacity: 1;
  88. }
  89. }
  90. /* fadeIn ------------------------------------------------*/
  91. @-webkit-keyframes fadeIn {
  92. 0% {
  93. opacity: 0;
  94. }
  95. 100% {
  96. opacity: 1;
  97. }
  98. }
  99. @-moz-keyframes fadeIn {
  100. 0% {
  101. opacity: 0;
  102. }
  103. 100% {
  104. opacity: 1;
  105. }
  106. }
  107. @keyframes fadeIn {
  108. 0% {
  109. opacity: 0;
  110. }
  111. 100% {
  112. opacity: 1;
  113. }
  114. }
  115. /* fadeOut ------------------------------------------------*/
  116. @-webkit-keyframes fadeOut {
  117. 0% {
  118. opacity: 1;
  119. }
  120. 100% {
  121. opacity: 0;
  122. }
  123. }
  124. @-moz-keyframes fadeOut {
  125. 0% {
  126. opacity: 1;
  127. }
  128. 100% {
  129. opacity: 0;
  130. }
  131. }
  132. @keyframes fadeOut {
  133. 0% {
  134. opacity: 1;
  135. }
  136. 100% {
  137. opacity: 0;
  138. }
  139. }
  140. /* moveBackground ------------------------------------------------*/
  141. @-webkit-keyframes moveBackground {
  142. 0% {
  143. background-position-x: 0px;
  144. }
  145. 100% {
  146. background-position-x: -100px;
  147. }
  148. }
  149. @-moz-keyframes moveBackground {
  150. 0% {
  151. background-position-x: 0px;
  152. }
  153. 100% {
  154. background-position-x: -100px;
  155. }
  156. }
  157. @keyframes moveBackground {
  158. 0% {
  159. background-position-x: 0px;
  160. }
  161. 100% {
  162. background-position-x: -100px;
  163. }
  164. }
  165. /* zoomIn ------------------------------------------------*/
  166. @-webkit-keyframes zoomIn {
  167. 0% {
  168. opacity: 0;
  169. -webkit-transform: scale(.8);
  170. }
  171. 100% {
  172. opacity: 1;
  173. -webkit-transform: scale(1);
  174. }
  175. }
  176. @-moz-keyframes zoomIn {
  177. 0% {
  178. opacity: 0;
  179. -moz-transform: scale(.8);
  180. }
  181. 100% {
  182. opacity: 1;
  183. -moz-transform: scale(1);
  184. }
  185. }
  186. @keyframes zoomIn {
  187. 0% {
  188. opacity: 0;
  189. transform: scale(.8);
  190. }
  191. 100% {
  192. opacity: 1;
  193. transform: scale(1);
  194. }
  195. }
  196. /* zoomOut ------------------------------------------------*/
  197. @-webkit-keyframes zoomOut {
  198. 0% {
  199. opacity: 1;
  200. -webkit-transform: scale(1);
  201. }
  202. 100% {
  203. opacity: 0;
  204. -webkit-transform: scale(.8);
  205. }
  206. }
  207. @-moz-keyframes zoomOut {
  208. 0% {
  209. opacity: 1;
  210. -moz-transform: scale(1);
  211. }
  212. 100% {
  213. opacity: 0;
  214. -moz-transform: scale(.8);
  215. }
  216. }
  217. @keyframes zoomOut {
  218. 0% {
  219. opacity: 1;
  220. transform: scale(1);
  221. }
  222. 100% {
  223. opacity: 0;
  224. transform: scale(.8);
  225. }
  226. }
  227. /* popIn ------------------------------------------------*/
  228. @-webkit-keyframes popIn {
  229. 0% {
  230. opacity: 0;
  231. -webkit-transform: scale(0);
  232. }
  233. 100% {
  234. opacity: 1;
  235. -webkit-transform: scale(1);
  236. }
  237. }
  238. @-moz-keyframes popIn {
  239. 0% {
  240. opacity: 0;
  241. -moz-transform: scale(0);
  242. }
  243. 100% {
  244. opacity: 1;
  245. -moz-transform: scale(1);
  246. }
  247. }
  248. @keyframes popIn {
  249. 0% {
  250. opacity: 0;
  251. transform: scale(0);
  252. }
  253. 100% {
  254. opacity: 1;
  255. transform: scale(1);
  256. }
  257. }
  258. /* pulse ------------------------------------------------*/
  259. @-webkit-keyframes pulse {
  260. 0% {
  261. opacity: 1;
  262. }
  263. 50% {
  264. opacity: 0.3;
  265. }
  266. 100% {
  267. opacity: 1;
  268. }
  269. }
  270. @-moz-keyframes pulse {
  271. 0% {
  272. opacity: 1;
  273. }
  274. 50% {
  275. opacity: 0.3;
  276. }
  277. 100% {
  278. opacity: 1;
  279. }
  280. }
  281. @keyframes pulse {
  282. 0% {
  283. opacity: 1;
  284. }
  285. 50% {
  286. opacity: 0.3;
  287. }
  288. 100% {
  289. opacity: 1;
  290. }
  291. }