Less css3 animations are generous
. Keyframes (@ fx, @ fy, @ tx, @ ty, @ name) {// declare an animation function, you only need to write a function to call @ keyframes @ name {from {transform: translate (@ fx, @ fy); opacity: 0; filter: alpha (opacity = 0) ;}to {transform: translate (@ tx, @ ty); opacity: 1; filter: alpha (opacity = 100 );}} @-moz-keyframes @ name/* Firefox */{from {-moz-transform: translate (@ fx, @ fy); opacity: 0; filter: alpha (opacity = 0) ;}to {-moz-transform: translate (@ tx, @ ty); opacity: 1; filter: alpha (opacity = 100 );}} @-webkit-keyframes @ name/* Safari and Chrome */{from {-webkit-transform: translate (@ fx, @ fy); opacity: 0; filter: alpha (opacity = 0) ;}to {-webkit-transform: translate (@ tx, @ ty); opacity: 1; filter: alpha (opacity = 100 );}} @-o-keyframes @ name/* Opera */{from {-o-transform: translate (@ fx, @ fy); opacity: 0; filter: alpha (opacity = 0) ;}to {-o-transform: translate (@ tx, @ ty); opacity: 1; filter: alpha (opacity = 100 );}}}. animation (@ animation-name, // declare a transitional function. You only need to declare a function to call @ animation-duration, @ animation-timing-function everywhere, @ animation-delay, @ animation-iteration-count, @ animation-direction) {animation: @ arguments;/* Firefox: */-moz-animation: @ arguments; /* Safari and Chrome: */-webkit-animation: @ arguments;/* Opera: */-o-animation: @ arguments ;} /* Initial animation * // banner --------------------------------------------------. keyframes (0,-600px, 0, 0, animation1_1); // banner Animation 1. keyframes (-421px, 0, 0px, 0, animation1_2); // banner Animation 2, left at the bottom 1. keyframes (183px, 0, 0px, 0, animation1_3); // banner animation 3, bottom left 2 // second screen -------------------------------------------------------------. keyframes (0,-326px, 0px, 0, animation2_1); // the first row. keyframes (0, 40px, 0px, 0, animation2_2); // The second row // the third row. keyframes (-610px, 0, 0px, 0, animation2_3 );. keyframes (670px, 0px, 0px, 0, animation2_4); // The third screen -------------------------------------------------------------. keyframes (0px,-300px, 0px, 0, animation3_1 );. keyframes (-700px, 0, 0px, 0, animation3_2 );. keyframes (1145px, 0, 0px, 0, animation3_3); // The fourth screen. keyframes (0px,-383px, 0px, 0, animation4_1 );. keyframes (0,-390px, 0px, 0, animation4_2 );. keyframes (-800px, 0, 0px, 0, animation4_3 );. keyframes (800px, 0, 0px, 0, animation4_4); // The Fifth screen. keyframes (0px,-383px, 0px, 0, animation5_1 );. keyframes (0, 390px, 0px, 0, animation5_2 );. keyframes (-800px, 0, 0px, 0, animation5_3 );. keyframes (800px, 0, 0px, 0, animation5_4);/* execute the animation Transition * // banner ---------------------------------------------. animation. animation1_1 {. animation (animation1_1, 2 s, bytes-in-out, 0 s, 1, normal )}. animation. animation1_2 {. animation (animation1_2, 2.5 s, bytes-in-out, 0 s, 1, normal )}. animation. animation1_3 {. animation (animation1_3, 2.5 s, audio-in-out, 0 s, 1, normal)} // The second screen -----------------------------------------------. animation. animation2_1 {// the first line. animation (animation2_1, 1 s, bytes-in-out, 0 s, 1, normal )}. animation. animation2_2 {// Row 2. animation (animation2_2, 3 s, bytes-in-out, 0 s, 1, normal)} // the third row. animation. animation2_3 {. animation (animation2_3, 3.5 s, bytes-in-out, 0 s, 1, normal )}. animation. animation2_4 {. animation (animation2_4, 3.5 s, audio-in-out, 0 s, 1, normal)} // The third screen ----------------------------------------------------------. animation. animation3_1 {// the first line. animation (animation3_1, 2.5 s, bytes-in-out, 0 s, 1, normal)} // the second row. animation. animation3_2 {// left side. animation (animation3_2, 3 s, bytes-in-out, 0 s, 1, normal)} // right side. animation. animation3_3 {// left side. animation (animation3_3, 3 s, audio-in-out, 0 s, 1, normal)} // screen 4 -----------------------------------------------------------------. animation. animation4_1 {. animation (animation4_1, 2 s, bytes-in-out, 0 s, 1, normal )}. animation. animation4_2 {. animation (animation4_2, 2.5 s, bytes-in-out, 0 s, 1, normal )}. animation. animation4_3 {. animation (animation4_3, 3 s, audio-in-out, 0 s, 1, normal)} // The Fifth screen. animation. animation5_1 {. animation (animation5_1, 1.5 s, bytes-in-out, 0 s, 1, normal )}. animation. animation5_2 {. animation (animation5_2, 1.5 s, bytes-in-out, 0 s, 1, normal )}. animation. animation5_3 {. animation (animation5_3, 2.5 s, bytes-in-out, 0 s, 1, normal )}. animation. animation5_4 {. animation (animation5_4, 2.5 s, bytes-in-out, 0 s, 1, normal )}