123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168 |
- * > .enter-x:nth-child(1) {
- transform: translateX(50px);
- }
- * > .-enter-x:nth-child(1) {
- transform: translateX(-50px);
- }
- * > .enter-x:nth-child(1),
- * > .-enter-x:nth-child(1) {
- z-index: 9;
- opacity: 0;
- animation: enter-x-animation 0.4s ease-in-out 0.3s;
- animation-fill-mode: forwards;
- animation-delay: 0.1s;
- }
- * > .enter-x:nth-child(2) {
- transform: translateX(50px);
- }
- * > .-enter-x:nth-child(2) {
- transform: translateX(-50px);
- }
- * > .enter-x:nth-child(2),
- * > .-enter-x:nth-child(2) {
- z-index: 8;
- opacity: 0;
- animation: enter-x-animation 0.4s ease-in-out 0.3s;
- animation-fill-mode: forwards;
- animation-delay: 0.2s;
- }
- * > .enter-x:nth-child(3) {
- transform: translateX(50px);
- }
- * > .-enter-x:nth-child(3) {
- transform: translateX(-50px);
- }
- * > .enter-x:nth-child(3),
- * > .-enter-x:nth-child(3) {
- z-index: 7;
- opacity: 0;
- animation: enter-x-animation 0.4s ease-in-out 0.3s;
- animation-fill-mode: forwards;
- animation-delay: 0.3s;
- }
- * > .enter-x:nth-child(4) {
- transform: translateX(50px);
- }
- * > .-enter-x:nth-child(4) {
- transform: translateX(-50px);
- }
- * > .enter-x:nth-child(4),
- * > .-enter-x:nth-child(4) {
- z-index: 6;
- opacity: 0;
- animation: enter-x-animation 0.4s ease-in-out 0.3s;
- animation-fill-mode: forwards;
- animation-delay: 0.4s;
- }
- * > .enter-x:nth-child(5) {
- transform: translateX(50px);
- }
- * > .-enter-x:nth-child(5) {
- transform: translateX(-50px);
- }
- * > .enter-x:nth-child(5),
- * > .-enter-x:nth-child(5) {
- z-index: 5;
- opacity: 0;
- animation: enter-x-animation 0.4s ease-in-out 0.3s;
- animation-fill-mode: forwards;
- animation-delay: 0.5s;
- }
- * > .enter-y:nth-child(1) {
- transform: translateX(50px);
- }
- * > .-enter-y:nth-child(1) {
- transform: translateX(-50px);
- }
- * > .enter-y:nth-child(1),
- * > .-enter-y:nth-child(1) {
- z-index: 9;
- opacity: 0;
- animation: enter-y-animation 0.4s ease-in-out 0.3s;
- animation-fill-mode: forwards;
- animation-delay: 0.1s;
- }
- * > .enter-y:nth-child(2) {
- transform: translateX(50px);
- }
- * > .-enter-y:nth-child(2) {
- transform: translateX(-50px);
- }
- * > .enter-y:nth-child(2),
- * > .-enter-y:nth-child(2) {
- z-index: 8;
- opacity: 0;
- animation: enter-y-animation 0.4s ease-in-out 0.3s;
- animation-fill-mode: forwards;
- animation-delay: 0.2s;
- }
- * > .enter-y:nth-child(3) {
- transform: translateX(50px);
- }
- * > .-enter-y:nth-child(3) {
- transform: translateX(-50px);
- }
- * > .enter-y:nth-child(3),
- * > .-enter-y:nth-child(3) {
- z-index: 7;
- opacity: 0;
- animation: enter-y-animation 0.4s ease-in-out 0.3s;
- animation-fill-mode: forwards;
- animation-delay: 0.3s;
- }
- * > .enter-y:nth-child(4) {
- transform: translateX(50px);
- }
- * > .-enter-y:nth-child(4) {
- transform: translateX(-50px);
- }
- * > .enter-y:nth-child(4),
- * > .-enter-y:nth-child(4) {
- z-index: 6;
- opacity: 0;
- animation: enter-y-animation 0.4s ease-in-out 0.3s;
- animation-fill-mode: forwards;
- animation-delay: 0.4s;
- }
- * > .enter-y:nth-child(5) {
- transform: translateX(50px);
- }
- * > .-enter-y:nth-child(5) {
- transform: translateX(-50px);
- }
- * > .enter-y:nth-child(5),
- * > .-enter-y:nth-child(5) {
- z-index: 5;
- opacity: 0;
- animation: enter-y-animation 0.4s ease-in-out 0.3s;
- animation-fill-mode: forwards;
- animation-delay: 0.5s;
- }
- @keyframes enter-x-animation {
- to {
- opacity: 1;
- transform: translateX(0);
- }
- }
- @keyframes enter-y-animation {
- to {
- opacity: 1;
- transform: translateY(0);
- }
- }
|