animations.css 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209
  1. /*
  2. ==============================================
  3. CSS3 ANIMATION CHEAT SHEET
  4. ==============================================
  5. Made by Justin Aguilar
  6. www.justinaguilar.com/animations/
  7. Questions, comments, concerns, love letters:
  8. justin@justinaguilar.com
  9. ==============================================
  10. */
  11. /*
  12. ==============================================
  13. slideDown
  14. ==============================================
  15. */
  16. .slideDown{
  17. animation-name: slideDown;
  18. -webkit-animation-name: slideDown;
  19. animation-duration: 1s;
  20. -webkit-animation-duration: 1s;
  21. animation-timing-function: ease;
  22. -webkit-animation-timing-function: ease;
  23. visibility: visible !important;
  24. }
  25. @keyframes slideDown {
  26. 0% {
  27. transform: translateY(-100%);
  28. }
  29. 50%{
  30. transform: translateY(8%);
  31. }
  32. 65%{
  33. transform: translateY(-4%);
  34. }
  35. 80%{
  36. transform: translateY(4%);
  37. }
  38. 95%{
  39. transform: translateY(-2%);
  40. }
  41. 100% {
  42. transform: translateY(0%);
  43. }
  44. }
  45. @-webkit-keyframes slideDown {
  46. 0% {
  47. -webkit-transform: translateY(-100%);
  48. }
  49. 50%{
  50. -webkit-transform: translateY(8%);
  51. }
  52. 65%{
  53. -webkit-transform: translateY(-4%);
  54. }
  55. 80%{
  56. -webkit-transform: translateY(4%);
  57. }
  58. 95%{
  59. -webkit-transform: translateY(-2%);
  60. }
  61. 100% {
  62. -webkit-transform: translateY(0%);
  63. }
  64. }
  65. /*
  66. ==============================================
  67. slideUp
  68. ==============================================
  69. */
  70. .slideUpOne{
  71. z-index: 1;
  72. animation-name: slideUpOne;
  73. -webkit-animation-name: slideUpOne;
  74. animation-duration: 1s;
  75. -webkit-animation-duration: 1s;
  76. animation-timing-function: ease;
  77. -webkit-animation-timing-function: ease;
  78. visibility: visible !important;
  79. }
  80. @keyframes slideUpOne {
  81. 0% {
  82. position: absolute;
  83. z-index: 1;
  84. transform: translateX(980px) rotate(15deg) translateY(1080px);
  85. }
  86. 70%{
  87. z-index: 1;
  88. transform: translateX(980px) rotate(15deg) translateY(400px);
  89. }
  90. 100% {
  91. z-index: 1;
  92. transform: translateX(980px) rotate(15deg) translateY(420px);
  93. }
  94. }
  95. @-webkit-keyframes slideUpOne {
  96. 0% {
  97. position: absolute;
  98. z-index: 1;
  99. -webkit-transform: translateX(980px) rotate(15deg) translateY(1080px);
  100. }
  101. 70%{
  102. z-index: 1;
  103. -webkit-transform: translateX(980px) rotate(15deg) translateY(400px);
  104. }
  105. 100% {
  106. z-index: 1;
  107. -webkit-transform: translateX(980px) rotate(15deg) translateY(420px);
  108. }
  109. }
  110. .slideUpTwo{
  111. z-index: 1;
  112. animation-name: slideUpTwo;
  113. -webkit-animation-name: slideUpTwo;
  114. animation-duration: 1s;
  115. -webkit-animation-duration: 1s;
  116. animation-timing-function: ease;
  117. -webkit-animation-timing-function: ease;
  118. visibility: visible !important;
  119. }
  120. @keyframes slideUpTwo {
  121. 0% {
  122. position: absolute;
  123. z-index: 1;
  124. transform: translateX(1096px) rotate(-20deg) translateY(920px);
  125. }
  126. 70%{
  127. z-index: 1;
  128. transform: translateX(1096px) rotate(-20deg) translateY(-5px);
  129. }
  130. 100% {
  131. z-index: 1;
  132. transform: translateX(1096px) rotate(-20deg) translateY(5px)
  133. }
  134. }
  135. @-webkit-keyframes slideUpTwo {
  136. 0% {
  137. position: absolute;
  138. z-index: 1;
  139. -webkit-transform: translateX(1096px) rotate(-20deg) translateY(920px);
  140. }
  141. 70%{
  142. z-index: 1;
  143. -webkit-transform: translateX(1096px) rotate(-20deg) translateY(-5px);
  144. }
  145. 100% {
  146. z-index: 1;
  147. -webkit-transform: translateX(1096px) rotate(-20deg) translateY(5px)
  148. }
  149. }
  150. .slideUpThree{
  151. z-index: 1;
  152. animation-name: slideUpThree;
  153. -webkit-animation-name: slideUpThree;
  154. animation-duration: 1s;
  155. -webkit-animation-duration: 1s;
  156. animation-timing-function: ease;
  157. -webkit-animation-timing-function: ease;
  158. visibility: visible !important;
  159. }
  160. @keyframes slideUpThree {
  161. 0% {
  162. position: absolute;
  163. z-index: 1;
  164. transform: translateX(1096px) rotate(-20deg) translateY(1120px);
  165. }
  166. 70%{
  167. z-index: 1;
  168. transform: translateX(1096px) rotate(-20deg) translateY(330px);
  169. }
  170. 100% {
  171. z-index: 1;
  172. transform: translateX(1096px) rotate(-20deg) translateY(380px);
  173. }
  174. }
  175. @-webkit-keyframes slideUpThree {
  176. 0% {
  177. position: absolute;
  178. z-index: 1;
  179. -webkit-transform: translateX(1096px) rotate(-20deg) translateY(1120px);
  180. }
  181. 70%{
  182. z-index: 1;
  183. -webkit-transform: translateX(1096px) rotate(-20deg) translateY(330px);
  184. }
  185. 100% {
  186. z-index: 1;
  187. -webkit-transform: translateX(1096px) rotate(-20deg) translateY(380px);
  188. }
  189. }
  190. /*
  191. ==============================================
  192. slideLeft
  193. ==============================================
  194. */
  195. .slideLeft{
  196. animation-name: slideLeft;
  197. -webkit-animation-name: slideLeft;
  198. animation-duration: 1s;
  199. -webkit-animation-duration: 1s;
  200. animation-timing-function: ease-in-out;
  201. -webkit-animation-timing-function: ease-in-out;
  202. visibility: visible !important;
  203. }
  204. @keyframes slideLeft {
  205. 0% {
  206. transform: translateX(150%);
  207. }
  208. 50%{
  209. transform: translateX(-8%);
  210. }
  211. 65%{
  212. transform: translateX(4%);
  213. }
  214. 80%{
  215. transform: translateX(-4%);
  216. }
  217. 95%{
  218. transform: translateX(2%);
  219. }
  220. 100% {
  221. transform: translateX(0%);
  222. }
  223. }
  224. @-webkit-keyframes slideLeft {
  225. 0% {
  226. -webkit-transform: translateX(150%);
  227. }
  228. 50%{
  229. -webkit-transform: translateX(-8%);
  230. }
  231. 65%{
  232. -webkit-transform: translateX(4%);
  233. }
  234. 80%{
  235. -webkit-transform: translateX(-4%);
  236. }
  237. 95%{
  238. -webkit-transform: translateX(2%);
  239. }
  240. 100% {
  241. -webkit-transform: translateX(0%);
  242. }
  243. }
  244. /*
  245. ==============================================
  246. slideRight
  247. ==============================================
  248. */
  249. .slideRight{
  250. animation-name: slideRight;
  251. -webkit-animation-name: slideRight;
  252. animation-duration: 1s;
  253. -webkit-animation-duration: 1s;
  254. animation-timing-function: ease-in-out;
  255. -webkit-animation-timing-function: ease-in-out;
  256. visibility: visible !important;
  257. }
  258. @keyframes slideRight {
  259. 0% {
  260. transform: translateX(-150%);
  261. }
  262. 50%{
  263. transform: translateX(8%);
  264. }
  265. 65%{
  266. transform: translateX(-4%);
  267. }
  268. 80%{
  269. transform: translateX(4%);
  270. }
  271. 95%{
  272. transform: translateX(-2%);
  273. }
  274. 100% {
  275. transform: translateX(0%);
  276. }
  277. }
  278. @-webkit-keyframes slideRight {
  279. 0% {
  280. -webkit-transform: translateX(-150%);
  281. }
  282. 50%{
  283. -webkit-transform: translateX(8%);
  284. }
  285. 65%{
  286. -webkit-transform: translateX(-4%);
  287. }
  288. 80%{
  289. -webkit-transform: translateX(4%);
  290. }
  291. 95%{
  292. -webkit-transform: translateX(-2%);
  293. }
  294. 100% {
  295. -webkit-transform: translateX(0%);
  296. }
  297. }
  298. /*
  299. ==============================================
  300. slideExpandUp
  301. ==============================================
  302. */
  303. .slideExpandUp{
  304. animation-name: slideExpandUp;
  305. -webkit-animation-name: slideExpandUp;
  306. animation-duration: 1.6s;
  307. -webkit-animation-duration: 1.6s;
  308. animation-timing-function: ease-out;
  309. -webkit-animation-timing-function: ease -out;
  310. visibility: visible !important;
  311. }
  312. @keyframes slideExpandUp {
  313. 0% {
  314. transform: translateY(100%) scaleX(0.5);
  315. }
  316. 30%{
  317. transform: translateY(-8%) scaleX(0.5);
  318. }
  319. 40%{
  320. transform: translateY(2%) scaleX(0.5);
  321. }
  322. 50%{
  323. transform: translateY(0%) scaleX(1.1);
  324. }
  325. 60%{
  326. transform: translateY(0%) scaleX(0.9);
  327. }
  328. 70% {
  329. transform: translateY(0%) scaleX(1.05);
  330. }
  331. 80%{
  332. transform: translateY(0%) scaleX(0.95);
  333. }
  334. 90% {
  335. transform: translateY(0%) scaleX(1.02);
  336. }
  337. 100%{
  338. transform: translateY(0%) scaleX(1);
  339. }
  340. }
  341. @-webkit-keyframes slideExpandUp {
  342. 0% {
  343. -webkit-transform: translateY(100%) scaleX(0.5);
  344. }
  345. 30%{
  346. -webkit-transform: translateY(-8%) scaleX(0.5);
  347. }
  348. 40%{
  349. -webkit-transform: translateY(2%) scaleX(0.5);
  350. }
  351. 50%{
  352. -webkit-transform: translateY(0%) scaleX(1.1);
  353. }
  354. 60%{
  355. -webkit-transform: translateY(0%) scaleX(0.9);
  356. }
  357. 70% {
  358. -webkit-transform: translateY(0%) scaleX(1.05);
  359. }
  360. 80%{
  361. -webkit-transform: translateY(0%) scaleX(0.95);
  362. }
  363. 90% {
  364. -webkit-transform: translateY(0%) scaleX(1.02);
  365. }
  366. 100%{
  367. -webkit-transform: translateY(0%) scaleX(1);
  368. }
  369. }
  370. /*
  371. ==============================================
  372. expandUp
  373. ==============================================
  374. */
  375. .expandUp{
  376. animation-name: expandUp;
  377. -webkit-animation-name: expandUp;
  378. animation-duration: 0.7s;
  379. -webkit-animation-duration: 0.7s;
  380. animation-timing-function: ease;
  381. -webkit-animation-timing-function: ease;
  382. visibility: visible !important;
  383. }
  384. @keyframes expandUp {
  385. 0% {
  386. transform: translateY(100%) scale(0.6) scaleY(0.5);
  387. }
  388. 60%{
  389. transform: translateY(-7%) scaleY(1.12);
  390. }
  391. 75%{
  392. transform: translateY(3%);
  393. }
  394. 100% {
  395. transform: translateY(0%) scale(1) scaleY(1);
  396. }
  397. }
  398. @-webkit-keyframes expandUp {
  399. 0% {
  400. -webkit-transform: translateY(100%) scale(0.6) scaleY(0.5);
  401. }
  402. 60%{
  403. -webkit-transform: translateY(-7%) scaleY(1.12);
  404. }
  405. 75%{
  406. -webkit-transform: translateY(3%);
  407. }
  408. 100% {
  409. -webkit-transform: translateY(0%) scale(1) scaleY(1);
  410. }
  411. }
  412. /*
  413. ==============================================
  414. fadeIn
  415. ==============================================
  416. */
  417. .fadeIn{
  418. animation-name: fadeIn;
  419. -webkit-animation-name: fadeIn;
  420. animation-duration: 1.5s;
  421. -webkit-animation-duration: 1.5s;
  422. animation-timing-function: ease-in-out;
  423. -webkit-animation-timing-function: ease-in-out;
  424. visibility: visible !important;
  425. }
  426. @keyframes fadeIn {
  427. 0% {
  428. transform: scale(0);
  429. opacity: 0.0;
  430. }
  431. 60% {
  432. transform: scale(1.1);
  433. }
  434. 80% {
  435. transform: scale(0.9);
  436. opacity: 1;
  437. }
  438. 100% {
  439. transform: scale(1);
  440. opacity: 1;
  441. }
  442. }
  443. @-webkit-keyframes fadeIn {
  444. 0% {
  445. -webkit-transform: scale(0);
  446. opacity: 0.0;
  447. }
  448. 60% {
  449. -webkit-transform: scale(1.1);
  450. }
  451. 80% {
  452. -webkit-transform: scale(0.9);
  453. opacity: 1;
  454. }
  455. 100% {
  456. -webkit-transform: scale(1);
  457. opacity: 1;
  458. }
  459. }
  460. /*
  461. ==============================================
  462. expandOpen
  463. ==============================================
  464. */
  465. .expandOpen{
  466. animation-name: expandOpen;
  467. -webkit-animation-name: expandOpen;
  468. animation-duration: 1.2s;
  469. -webkit-animation-duration: 1.2s;
  470. animation-timing-function: ease-out;
  471. -webkit-animation-timing-function: ease-out;
  472. visibility: visible !important;
  473. }
  474. @keyframes expandOpen {
  475. 0% {
  476. transform: scale(1.8);
  477. }
  478. 50% {
  479. transform: scale(0.95);
  480. }
  481. 80% {
  482. transform: scale(1.05);
  483. }
  484. 90% {
  485. transform: scale(0.98);
  486. }
  487. 100% {
  488. transform: scale(1);
  489. }
  490. }
  491. @-webkit-keyframes expandOpen {
  492. 0% {
  493. -webkit-transform: scale(1.8);
  494. }
  495. 50% {
  496. -webkit-transform: scale(0.95);
  497. }
  498. 80% {
  499. -webkit-transform: scale(1.05);
  500. }
  501. 90% {
  502. -webkit-transform: scale(0.98);
  503. }
  504. 100% {
  505. -webkit-transform: scale(1);
  506. }
  507. }
  508. /*
  509. ==============================================
  510. bigEntrance
  511. ==============================================
  512. */
  513. .bigEntrance{
  514. animation-name: bigEntrance;
  515. -webkit-animation-name: bigEntrance;
  516. animation-duration: 1.6s;
  517. -webkit-animation-duration: 1.6s;
  518. animation-timing-function: ease-out;
  519. -webkit-animation-timing-function: ease-out;
  520. visibility: visible !important;
  521. }
  522. @keyframes bigEntrance {
  523. 0% {
  524. transform: scale(0.3) rotate(6deg) translateX(-30%) translateY(30%);
  525. opacity: 0.2;
  526. }
  527. 30% {
  528. transform: scale(1.03) rotate(-2deg) translateX(2%) translateY(-2%);
  529. opacity: 1;
  530. }
  531. 45% {
  532. transform: scale(0.98) rotate(1deg) translateX(0%) translateY(0%);
  533. opacity: 1;
  534. }
  535. 60% {
  536. transform: scale(1.01) rotate(-1deg) translateX(0%) translateY(0%);
  537. opacity: 1;
  538. }
  539. 75% {
  540. transform: scale(0.99) rotate(1deg) translateX(0%) translateY(0%);
  541. opacity: 1;
  542. }
  543. 90% {
  544. transform: scale(1.01) rotate(0deg) translateX(0%) translateY(0%);
  545. opacity: 1;
  546. }
  547. 100% {
  548. transform: scale(1) rotate(0deg) translateX(0%) translateY(0%);
  549. opacity: 1;
  550. }
  551. }
  552. @-webkit-keyframes bigEntrance {
  553. 0% {
  554. -webkit-transform: scale(0.3) rotate(6deg) translateX(-30%) translateY(30%);
  555. opacity: 0.2;
  556. }
  557. 30% {
  558. -webkit-transform: scale(1.03) rotate(-2deg) translateX(2%) translateY(-2%);
  559. opacity: 1;
  560. }
  561. 45% {
  562. -webkit-transform: scale(0.98) rotate(1deg) translateX(0%) translateY(0%);
  563. opacity: 1;
  564. }
  565. 60% {
  566. -webkit-transform: scale(1.01) rotate(-1deg) translateX(0%) translateY(0%);
  567. opacity: 1;
  568. }
  569. 75% {
  570. -webkit-transform: scale(0.99) rotate(1deg) translateX(0%) translateY(0%);
  571. opacity: 1;
  572. }
  573. 90% {
  574. -webkit-transform: scale(1.01) rotate(0deg) translateX(0%) translateY(0%);
  575. opacity: 1;
  576. }
  577. 100% {
  578. -webkit-transform: scale(1) rotate(0deg) translateX(0%) translateY(0%);
  579. opacity: 1;
  580. }
  581. }
  582. /*
  583. ==============================================
  584. hatch
  585. ==============================================
  586. */
  587. .hatch{
  588. animation-name: hatch;
  589. -webkit-animation-name: hatch;
  590. animation-duration: 2s;
  591. -webkit-animation-duration: 2s;
  592. animation-timing-function: ease-in-out;
  593. -webkit-animation-timing-function: ease-in-out;
  594. transform-origin: 50% 100%;
  595. -ms-transform-origin: 50% 100%;
  596. -webkit-transform-origin: 50% 100%;
  597. visibility: visible !important;
  598. }
  599. @keyframes hatch {
  600. 0% {
  601. transform: rotate(0deg) scaleY(0.6);
  602. }
  603. 20% {
  604. transform: rotate(-2deg) scaleY(1.05);
  605. }
  606. 35% {
  607. transform: rotate(2deg) scaleY(1);
  608. }
  609. 50% {
  610. transform: rotate(-2deg);
  611. }
  612. 65% {
  613. transform: rotate(1deg);
  614. }
  615. 80% {
  616. transform: rotate(-1deg);
  617. }
  618. 100% {
  619. transform: rotate(0deg);
  620. }
  621. }
  622. @-webkit-keyframes hatch {
  623. 0% {
  624. -webkit-transform: rotate(0deg) scaleY(0.6);
  625. }
  626. 20% {
  627. -webkit-transform: rotate(-2deg) scaleY(1.05);
  628. }
  629. 35% {
  630. -webkit-transform: rotate(2deg) scaleY(1);
  631. }
  632. 50% {
  633. -webkit-transform: rotate(-2deg);
  634. }
  635. 65% {
  636. -webkit-transform: rotate(1deg);
  637. }
  638. 80% {
  639. -webkit-transform: rotate(-1deg);
  640. }
  641. 100% {
  642. -webkit-transform: rotate(0deg);
  643. }
  644. }
  645. /*
  646. ==============================================
  647. bounce
  648. ==============================================
  649. */
  650. .bounce{
  651. animation-name: bounce;
  652. -webkit-animation-name: bounce;
  653. animation-duration: 1.6s;
  654. -webkit-animation-duration: 1.6s;
  655. animation-timing-function: ease;
  656. -webkit-animation-timing-function: ease;
  657. transform-origin: 50% 100%;
  658. -ms-transform-origin: 50% 100%;
  659. -webkit-transform-origin: 50% 100%;
  660. }
  661. @keyframes bounce {
  662. 0% {
  663. transform: translateY(0%) scaleY(0.6);
  664. }
  665. 60%{
  666. transform: translateY(-100%) scaleY(1.1);
  667. }
  668. 70%{
  669. transform: translateY(0%) scaleY(0.95) scaleX(1.05);
  670. }
  671. 80%{
  672. transform: translateY(0%) scaleY(1.05) scaleX(1);
  673. }
  674. 90%{
  675. transform: translateY(0%) scaleY(0.95) scaleX(1);
  676. }
  677. 100%{
  678. transform: translateY(0%) scaleY(1) scaleX(1);
  679. }
  680. }
  681. @-webkit-keyframes bounce {
  682. 0% {
  683. -webkit-transform: translateY(0%) scaleY(0.6);
  684. }
  685. 60%{
  686. -webkit-transform: translateY(-100%) scaleY(1.1);
  687. }
  688. 70%{
  689. -webkit-transform: translateY(0%) scaleY(0.95) scaleX(1.05);
  690. }
  691. 80%{
  692. -webkit-transform: translateY(0%) scaleY(1.05) scaleX(1);
  693. }
  694. 90%{
  695. -webkit-transform: translateY(0%) scaleY(0.95) scaleX(1);
  696. }
  697. 100%{
  698. -webkit-transform: translateY(0%) scaleY(1) scaleX(1);
  699. }
  700. }
  701. /*
  702. ==============================================
  703. pulse
  704. ==============================================
  705. */
  706. .pulse{
  707. animation-name: pulse;
  708. -webkit-animation-name: pulse;
  709. animation-duration: 2.5s;
  710. -webkit-animation-duration: 2.5s;
  711. animation-iteration-count: infinite;
  712. -webkit-animation-iteration-count: infinite;
  713. }
  714. @keyframes pulse {
  715. 0% {
  716. transform: scale(0.8);
  717. opacity: 0.7;
  718. }
  719. 50% {
  720. transform: scale(0.9);
  721. opacity: 1;
  722. }
  723. 100% {
  724. transform: scale(0.8);
  725. opacity: 0.7;
  726. }
  727. }
  728. @-webkit-keyframes pulse {
  729. 0% {
  730. -webkit-transform: scale(0.8);
  731. opacity: 0.7;
  732. }
  733. 50% {
  734. -webkit-transform: scale(0.9);
  735. opacity: 1;
  736. }
  737. 100% {
  738. -webkit-transform: scale(0.8);
  739. opacity: 0.7;
  740. }
  741. }
  742. /*
  743. ==============================================
  744. floating
  745. ==============================================
  746. */
  747. .floating{
  748. animation-name: floating;
  749. -webkit-animation-name: floating;
  750. animation-duration: 1.5s;
  751. -webkit-animation-duration: 1.5s;
  752. animation-iteration-count: infinite;
  753. -webkit-animation-iteration-count: infinite;
  754. }
  755. @keyframes floating {
  756. 0% {
  757. transform: translateY(0%);
  758. }
  759. 50% {
  760. transform: translateY(8%);
  761. }
  762. 100% {
  763. transform: translateY(0%);
  764. }
  765. }
  766. @-webkit-keyframes floating {
  767. 0% {
  768. -webkit-transform: translateY(0%);
  769. }
  770. 50% {
  771. -webkit-transform: translateY(8%);
  772. }
  773. 100% {
  774. -webkit-transform: translateY(0%);
  775. }
  776. }
  777. /*
  778. ==============================================
  779. tossing
  780. ==============================================
  781. */
  782. .tossing{
  783. animation-name: tossing;
  784. -webkit-animation-name: tossing;
  785. animation-duration: 2.5s;
  786. -webkit-animation-duration: 2.5s;
  787. animation-iteration-count: infinite;
  788. -webkit-animation-iteration-count: infinite;
  789. }
  790. @keyframes tossing {
  791. 0% {
  792. transform: rotate(-4deg);
  793. }
  794. 50% {
  795. transform: rotate(4deg);
  796. }
  797. 100% {
  798. transform: rotate(-4deg);
  799. }
  800. }
  801. @-webkit-keyframes tossing {
  802. 0% {
  803. -webkit-transform: rotate(-4deg);
  804. }
  805. 50% {
  806. -webkit-transform: rotate(4deg);
  807. }
  808. 100% {
  809. -webkit-transform: rotate(-4deg);
  810. }
  811. }
  812. /*
  813. ==============================================
  814. pullUp
  815. ==============================================
  816. */
  817. .pullUp{
  818. animation-name: pullUp;
  819. -webkit-animation-name: pullUp;
  820. animation-duration: 1.1s;
  821. -webkit-animation-duration: 1.1s;
  822. animation-timing-function: ease-out;
  823. -webkit-animation-timing-function: ease-out;
  824. transform-origin: 50% 100%;
  825. -ms-transform-origin: 50% 100%;
  826. -webkit-transform-origin: 50% 100%;
  827. }
  828. @keyframes pullUp {
  829. 0% {
  830. transform: scaleY(0.1);
  831. }
  832. 40% {
  833. transform: scaleY(1.02);
  834. }
  835. 60% {
  836. transform: scaleY(0.98);
  837. }
  838. 80% {
  839. transform: scaleY(1.01);
  840. }
  841. 100% {
  842. transform: scaleY(0.98);
  843. }
  844. 80% {
  845. transform: scaleY(1.01);
  846. }
  847. 100% {
  848. transform: scaleY(1);
  849. }
  850. }
  851. @-webkit-keyframes pullUp {
  852. 0% {
  853. -webkit-transform: scaleY(0.1);
  854. }
  855. 40% {
  856. -webkit-transform: scaleY(1.02);
  857. }
  858. 60% {
  859. -webkit-transform: scaleY(0.98);
  860. }
  861. 80% {
  862. -webkit-transform: scaleY(1.01);
  863. }
  864. 100% {
  865. -webkit-transform: scaleY(0.98);
  866. }
  867. 80% {
  868. -webkit-transform: scaleY(1.01);
  869. }
  870. 100% {
  871. -webkit-transform: scaleY(1);
  872. }
  873. }
  874. /*
  875. ==============================================
  876. pullDown
  877. ==============================================
  878. */
  879. .pullDown{
  880. animation-name: pullDown;
  881. -webkit-animation-name: pullDown;
  882. animation-duration: 1.1s;
  883. -webkit-animation-duration: 1.1s;
  884. animation-timing-function: ease-out;
  885. -webkit-animation-timing-function: ease-out;
  886. transform-origin: 50% 0%;
  887. -ms-transform-origin: 50% 0%;
  888. -webkit-transform-origin: 50% 0%;
  889. }
  890. @keyframes pullDown {
  891. 0% {
  892. transform: scaleY(0.1);
  893. }
  894. 40% {
  895. transform: scaleY(1.02);
  896. }
  897. 60% {
  898. transform: scaleY(0.98);
  899. }
  900. 80% {
  901. transform: scaleY(1.01);
  902. }
  903. 100% {
  904. transform: scaleY(0.98);
  905. }
  906. 80% {
  907. transform: scaleY(1.01);
  908. }
  909. 100% {
  910. transform: scaleY(1);
  911. }
  912. }
  913. @-webkit-keyframes pullDown {
  914. 0% {
  915. -webkit-transform: scaleY(0.1);
  916. }
  917. 40% {
  918. -webkit-transform: scaleY(1.02);
  919. }
  920. 60% {
  921. -webkit-transform: scaleY(0.98);
  922. }
  923. 80% {
  924. -webkit-transform: scaleY(1.01);
  925. }
  926. 100% {
  927. -webkit-transform: scaleY(0.98);
  928. }
  929. 80% {
  930. -webkit-transform: scaleY(1.01);
  931. }
  932. 100% {
  933. -webkit-transform: scaleY(1);
  934. }
  935. }
  936. /*
  937. ==============================================
  938. stretchLeft
  939. ==============================================
  940. */
  941. .stretchLeft{
  942. animation-name: stretchLeft;
  943. -webkit-animation-name: stretchLeft;
  944. animation-duration: 1.5s;
  945. -webkit-animation-duration: 1.5s;
  946. animation-timing-function: ease-out;
  947. -webkit-animation-timing-function: ease-out;
  948. transform-origin: 100% 0%;
  949. -ms-transform-origin: 100% 0%;
  950. -webkit-transform-origin: 100% 0%;
  951. }
  952. @keyframes stretchLeft {
  953. 0% {
  954. transform: scaleX(0.3);
  955. }
  956. 40% {
  957. transform: scaleX(1.02);
  958. }
  959. 60% {
  960. transform: scaleX(0.98);
  961. }
  962. 80% {
  963. transform: scaleX(1.01);
  964. }
  965. 100% {
  966. transform: scaleX(0.98);
  967. }
  968. 80% {
  969. transform: scaleX(1.01);
  970. }
  971. 100% {
  972. transform: scaleX(1);
  973. }
  974. }
  975. @-webkit-keyframes stretchLeft {
  976. 0% {
  977. -webkit-transform: scaleX(0.3);
  978. }
  979. 40% {
  980. -webkit-transform: scaleX(1.02);
  981. }
  982. 60% {
  983. -webkit-transform: scaleX(0.98);
  984. }
  985. 80% {
  986. -webkit-transform: scaleX(1.01);
  987. }
  988. 100% {
  989. -webkit-transform: scaleX(0.98);
  990. }
  991. 80% {
  992. -webkit-transform: scaleX(1.01);
  993. }
  994. 100% {
  995. -webkit-transform: scaleX(1);
  996. }
  997. }
  998. /*
  999. ==============================================
  1000. stretchRight
  1001. ==============================================
  1002. */
  1003. .stretchRight{
  1004. animation-name: stretchRight;
  1005. -webkit-animation-name: stretchRight;
  1006. animation-duration: 1.5s;
  1007. -webkit-animation-duration: 1.5s;
  1008. animation-timing-function: ease-out;
  1009. -webkit-animation-timing-function: ease-out;
  1010. transform-origin: 0% 0%;
  1011. -ms-transform-origin: 0% 0%;
  1012. -webkit-transform-origin: 0% 0%;
  1013. }
  1014. @keyframes stretchRight {
  1015. 0% {
  1016. transform: scaleX(0.3);
  1017. }
  1018. 40% {
  1019. transform: scaleX(1.02);
  1020. }
  1021. 60% {
  1022. transform: scaleX(0.98);
  1023. }
  1024. 80% {
  1025. transform: scaleX(1.01);
  1026. }
  1027. 100% {
  1028. transform: scaleX(0.98);
  1029. }
  1030. 80% {
  1031. transform: scaleX(1.01);
  1032. }
  1033. 100% {
  1034. transform: scaleX(1);
  1035. }
  1036. }
  1037. @-webkit-keyframes stretchRight {
  1038. 0% {
  1039. -webkit-transform: scaleX(0.3);
  1040. }
  1041. 40% {
  1042. -webkit-transform: scaleX(1.02);
  1043. }
  1044. 60% {
  1045. -webkit-transform: scaleX(0.98);
  1046. }
  1047. 80% {
  1048. -webkit-transform: scaleX(1.01);
  1049. }
  1050. 100% {
  1051. -webkit-transform: scaleX(0.98);
  1052. }
  1053. 80% {
  1054. -webkit-transform: scaleX(1.01);
  1055. }
  1056. 100% {
  1057. -webkit-transform: scaleX(1);
  1058. }
  1059. }