animations.css 5.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297
  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. opacity: 0;
  73. }
  74. 100% {
  75. opacity: 1;
  76. }
  77. }
  78. @keyframes moveUp {
  79. 0% {
  80. transform: translateY(100px);
  81. opacity: 0;
  82. }
  83. 100% {
  84. transform: translateY(0);
  85. opacity: 1;
  86. }
  87. }
  88. /* fadeIn ------------------------------------------------*/
  89. @-webkit-keyframes fadeIn {
  90. 0% {
  91. opacity: 0;
  92. }
  93. 100% {
  94. opacity: 1;
  95. }
  96. }
  97. @-moz-keyframes fadeIn {
  98. 0% {
  99. opacity: 0;
  100. }
  101. 100% {
  102. opacity: 1;
  103. }
  104. }
  105. @keyframes fadeIn {
  106. 0% {
  107. opacity: 0;
  108. }
  109. 100% {
  110. opacity: 1;
  111. }
  112. }
  113. /* fadeOut ------------------------------------------------*/
  114. @-webkit-keyframes fadeOut {
  115. 0% {
  116. opacity: 1;
  117. }
  118. 100% {
  119. opacity: 0;
  120. }
  121. }
  122. @-moz-keyframes fadeOut {
  123. 0% {
  124. opacity: 1;
  125. }
  126. 100% {
  127. opacity: 0;
  128. }
  129. }
  130. @keyframes fadeOut {
  131. 0% {
  132. opacity: 1;
  133. }
  134. 100% {
  135. opacity: 0;
  136. }
  137. }
  138. /* moveBackground ------------------------------------------------*/
  139. @-webkit-keyframes moveBackground {
  140. 0% {
  141. background-position-x: 0px;
  142. }
  143. 100% {
  144. background-position-x: -100px;
  145. }
  146. }
  147. @-moz-keyframes moveBackground {
  148. 0% {
  149. background-position-x: 0px;
  150. }
  151. 100% {
  152. background-position-x: -100px;
  153. }
  154. }
  155. @keyframes moveBackground {
  156. 0% {
  157. background-position-x: 0px;
  158. }
  159. 100% {
  160. background-position-x: -100px;
  161. }
  162. }
  163. /* zoomIn ------------------------------------------------*/
  164. @-webkit-keyframes zoomIn {
  165. 0% {
  166. opacity: 0;
  167. -webkit-transform: scale(.8);
  168. }
  169. 100% {
  170. opacity: 1;
  171. -webkit-transform: scale(1);
  172. }
  173. }
  174. @-moz-keyframes zoomIn {
  175. 0% {
  176. opacity: 0;
  177. }
  178. 100% {
  179. opacity: 1;
  180. }
  181. }
  182. @keyframes zoomIn {
  183. 0% {
  184. opacity: 0;
  185. transform: scale(.8);
  186. }
  187. 100% {
  188. opacity: 1;
  189. transform: scale(1);
  190. }
  191. }
  192. /* zoomOut ------------------------------------------------*/
  193. @-webkit-keyframes zoomOut {
  194. 0% {
  195. opacity: 1;
  196. -webkit-transform: scale(1);
  197. }
  198. 100% {
  199. opacity: 0;
  200. -webkit-transform: scale(.8);
  201. }
  202. }
  203. @-moz-keyframes zoomOut {
  204. 0% {
  205. opacity: 1;
  206. }
  207. 100% {
  208. opacity: 0;
  209. }
  210. }
  211. @keyframes zoomOut {
  212. 0% {
  213. opacity: 1;
  214. transform: scale(1);
  215. }
  216. 100% {
  217. opacity: 0;
  218. transform: scale(.8);
  219. }
  220. }
  221. /* popIn ------------------------------------------------*/
  222. @-webkit-keyframes popIn {
  223. 0% {
  224. opacity: 0;
  225. -webkit-transform: scale(0);
  226. }
  227. 100% {
  228. opacity: 1;
  229. -webkit-transform: scale(1);
  230. }
  231. }
  232. @-moz-keyframes popIn {
  233. 0% {
  234. opacity: 0;
  235. -moz-transform: scale(0);
  236. }
  237. 100% {
  238. opacity: 1;
  239. -moz-transform: scale(1);
  240. }
  241. }
  242. @keyframes popIn {
  243. 0% {
  244. opacity: 0;
  245. transform: scale(0);
  246. }
  247. 100% {
  248. opacity: 1;
  249. transform: scale(1);
  250. }
  251. }
  252. /* pulse ------------------------------------------------*/
  253. @-webkit-keyframes pulse {
  254. 0% {
  255. opacity: 1;
  256. }
  257. 50% {
  258. opacity: 0.3;
  259. }
  260. 100% {
  261. opacity: 1;
  262. }
  263. }
  264. @-moz-keyframes pulse {
  265. 0% {
  266. opacity: 1;
  267. }
  268. 50% {
  269. opacity: 0.8;
  270. }
  271. 100% {
  272. opacity: 1;
  273. }
  274. }
  275. @keyframes pulse {
  276. 0% {
  277. opacity: 1;
  278. }
  279. 50% {
  280. opacity: 0.8;
  281. }
  282. 100% {
  283. opacity: 1;
  284. }
  285. }