首页 前端知识 CSS3常用动画效果合集(最全)

CSS3常用动画效果合集(最全)

2024-04-13 23:04:44 前端知识 前端哥 443 466 我要收藏

}

@keyframes fadeinT{

0%{opacity:0;transform:translateY(-100px);}

100%{opacity:1;transform:translateY(0);}

}

/* 淡入-从右 */

@-webkit-keyframes fadeinR{

0%{opacity:0;-webkit-transform:translateX(100px);}

100%{opacity:1;-webkit-transform:translateX(0);}

}

@-moz-keyframes fadeinR{

0%{opacity:0;-moz-transform:translateX(100px);}

100%{opacity:1;-moz-transform:translateX(0);}

}

@-ms-keyframes fadeinR{

0%{opacity:0;-ms-transform:translateX(100px);}

100%{opacity:1;-ms-transform:translateX(0);}

}

@keyframes fadeinR{

0%{opacity:0;transform:translateX(100px);}

100%{opacity:1;transform:translateX(0);}

}

/* 淡入-从下 */

@-webkit-keyframes fadeinB{

0%{opacity:0;-webkit-transform:translateY(100px);}

100%{opacity:1;-webkit-transform:translateY(0);}

}

@-moz-keyframes fadeinB{

0%{opacity:0;-moz-transform:translateY(100px);}

100%{opacity:1;-moz-transform:translateY(0);}

}

@-ms-keyframes fadeinB{

0%{opacity:0;-ms-transform:translateY(100px);}

100%{opacity:1;-ms-transform:translateY(0);}

}

@keyframes fadeinB{

0%{opacity:0;transform:translateY(100px);}

100%{opacity:1;transform:translateY(0);}

}

/* 淡入-从左 */

@-webkit-keyframes fadeinL{

0%{opacity:0;-webkit-transform:translateX(-100px);}

100%{opacity:1;-webkit-transform:translateX(0);}

}

@-moz-keyframes fadeinL{

0%{opacity:0;-moz-transform:translateX(-100px);}

100%{opacity:1;-moz-transform:translateX(0);}

}

@-ms-keyframes fadeinL{

0%{opacity:0;-ms-transform:translateX(-100px);}

100%{opacity:1;-ms-transform:translateX(0);}

}

@keyframes fadeinL{

0%{opacity:0;transform:translateX(-100px);}

100%{opacity:1;transform:translateX(0);}

}

/* 淡出 */

@-webkit-keyframes fadeout{

0%{opacity:1;}

100%{opacity:0;}

}

@-moz-keyframes fadeout{

0%{opacity:1;}

100%{opacity:0;}

}

@-ms-keyframes fadeout{

0%{opacity:1;}

100%{opacity:0;}

}

@keyframes fadeout{

0%{opacity:1;}

100%{opacity:0;}

}

/* 淡出-向上 */

@-webkit-keyframes fadeoutT{

0%{opacity:1;-webkit-transform:translateY(0);}

100%{opacity:0;-webkit-transform:translateY(-100px);}

}

@-moz-keyframes fadeoutT{

0%{opacity:1;-moz-transform:translateY(0);}

100%{opacity:0;-moz-transform:translateY(-100px);}

}

@-ms-keyframes fadeoutT{

0%{opacity:1;-ms-transform:translateY(0);}

100%{opacity:0;-ms-transform:translateY(-100px);}

}

@keyframes fadeoutT{

0%{opacity:1;transform:translateY(0);}

100%{opacity:0;transform:translateY(-100px);}

}

/* 淡出-向右 */

@-webkit-keyframes fadeoutR{

0%{opacity:1;-webkit-transform:translateX(0);}

100%{opacity:0;-webkit-transform:translateX(100px);}

}

@-moz-keyframes fadeoutR{

0%{opacity:1;-moz-transform:translateX(0);}

100%{opacity:0;-moz-transform:translateX(100px);}

}

@-ms-keyframes fadeoutR{

0%{opacity:1;-ms-transform:translateX(0);}

100%{opacity:0;-ms-transform:translateX(100px);}

}

@keyframes fadeoutR{

0%{opacity:1;transform:translateX(0);}

100%{opacity:0;transform:translateX(100px);}

}

/* 淡出-向下 */

@-webkit-keyframes fadeoutB{

0%{opacity:1;-webkit-transform:translateY(0);}

100%{opacity:0;-webkit-transform:translateY(100px);}

}

@-moz-keyframes fadeoutB{

0%{opacity:1;-moz-transform:translateY(0);}

100%{opacity:0;-moz-transform:translateY(100px);}

}

@-ms-keyframes fadeoutB{

0%{opacity:1;-ms-transform:translateY(0);}

100%{opacity:0;-ms-transform:translateY(100px);}

}

@keyframes fadeoutB{

0%{opacity:1;transform:translateY(0);}

100%{opacity:0;transform:translateY(100px);}

}

/* 淡出-向左 */

@-webkit-keyframes fadeoutL{

0%{opacity:1;-webkit-transform:translateX(0);}

100%{opacity:0;-webkit-transform:translateX(-100px);}

}

@-moz-keyframes fadeoutL{

0%{opacity:1;-moz-transform:translateX(0);}

100%{opacity:0;-moz-transform:translateX(-100px);}

}

@-ms-keyframes fadeoutL{

0%{opacity:1;-ms-transform:translateX(0);}

100%{opacity:0;-ms-transform:translateX(-100px);}

}

@keyframes fadeoutL{

0%{opacity:1;transform:translateX(0);}

100%{opacity:0;transform:translateX(-100px);}

}

/* 弹跳 */

@-webkit-keyframes bounce{

0%,20%,50%,80%,100%{-webkit-transform:translateY(0);}

40%{-webkit-transform:translateY(-30px);}

60%{-webkit-transform:translateY(-15px);}

}

@-moz-keyframes bounce{

0%,20%,50%,80%,100%{-moz-transform:translateY(0);}

40%{-moz-transform:translateY(-30px);}

60%{-moz-transform:translateY(-15px);}

}

@-ms-keyframes bounce{

0%,20%,50%,80%,100%{-ms-transform:translateY(0);}

40%{-ms-transform:translateY(-30px);}

60%{-ms-transform:translateY(-15px);}

}

@keyframes bounce{

0%,20%,50%,80%,100%{transform:translateY(0);}

40%{transform:translateY(-30px);}

60%{transform:translateY(-15px);}

}

/* 弹入 */

@-webkit-keyframes bouncein{

0%{opacity:0;-webkit-transform:scale(0.3);}

50%{opacity:1;-webkit-transform:scale(1.05);}

70%{-webkit-transform:scale(0.9);}

100%{-webkit-transform:scale(1);}

}

@-moz-keyframes bouncein{

0%{opacity:0;-moz-transform:scale(0.3);}

50%{opacity:1;-moz-transform:scale(1.05);}

70%{-moz-transform:scale(0.9);}

100%{-moz-transform:scale(1);}

}

@-ms-keyframes bouncein{

0%{opacity:0;-ms-transform:scale(0.3);}

50%{opacity:1;-ms-transform:scale(1.05);}

70%{-ms-transform:scale(0.9);}

100%{-ms-transform:scale(1);}

}

@keyframes bouncein{

0%{opacity:0;transform:scale(0.3);}

50%{opacity:1;transform:scale(1.05);}

70%{transform:scale(0.9);}

100%{transform:scale(1);}

}

/* 弹入-从上 */

@-webkit-keyframes bounceinT{

0%{opacity:0;-webkit-transform:translateY(-100px);}

60%{opacity:1;-webkit-transform:translateY(30px);}

80%{-webkit-transform:translateY(-10px);}

100%{-webkit-transform:translateY(0);}

}

@-moz-keyframes bounceinT{

0%{opacity:0;-moz-transform:translateY(-100px);}

60%{opacity:1;-moz-transform:translateY(30px);}

80%{-moz-transform:translateY(-10px);}

100%{-moz-transform:translateY(0);}

}

@-ms-keyframes bounceinT{

0%{opacity:0;-ms-transform:translateY(-100px);}

60%{opacity:1;-ms-transform:translateY(30px);}

80%{-ms-transform:translateY(-10px);}

100%{-ms-transform:translateY(0);}

}

@keyframes bounceinT{

0%{opacity:0;transform:translateY(-100px);}

60%{opacity:1;transform:translateY(30px);}

80%{transform:translateY(-10px);}

100%{transform:translateY(0);}

}

/* 弹入-从右 */

@-webkit-keyframes bounceinR{

0%{opacity:0;-webkit-transform:translateX(100px);}

60%{opacity:1;-webkit-transform:translateX(-30px);}

80%{-webkit-transform:translateX(10px);}

100%{-webkit-transform:translateX(0);}

}

@-moz-keyframes bounceinR{

0%{opacity:0;-moz-transform:translateX(100px);}

60%{opacity:1;-moz-transform:translateX(-30px);}

80%{-moz-transform:translateX(10px);}

100%{-moz-transform:translateX(0);}

}

@-ms-keyframes bounceinR{

0%{opacity:0;-ms-transform:translateX(100px);}

60%{opacity:1;-ms-transform:translateX(-30px);}

80%{-ms-transform:translateX(10px);}

100%{-ms-transform:translateX(0);}

}

@keyframes bounceinR{

0%{opacity:0;transform:translateX(100px);}

60%{opacity:1;transform:translateX(-30px);}

80%{transform:translateX(10px);}

100%{transform:translateX(0);}

}

/* 弹入-从下 */

@-webkit-keyframes bounceinB{

0%{opacity:0;-webkit-transform:translateY(100px);}

60%{opacity:1;-webkit-transform:translateY(-30px);}

80%{-webkit-transform:translateY(10px);}

100%{-webkit-transform:translateY(0);}

}

@-moz-keyframes bounceinB{

0%{opacity:0;-moz-transform:translateY(100px);}

60%{opacity:1;-moz-transform:translateY(-30px);}

80%{-moz-transform:translateY(10px);}

100%{-moz-transform:translateY(0);}

}

@-ms-keyframes bounceinB{

0%{opacity:0;-ms-transform:translateY(100px);}

60%{opacity:1;-ms-transform:translateY(-30px);}

80%{-ms-transform:translateY(10px);}

100%{-ms-transform:translateY(0);}

}

@keyframes bounceinB{

0%{opacity:0;transform:translateY(100px);}

60%{opacity:1;transform:translateY(-30px);}

80%{transform:translateY(10px);}

100%{transform:translateY(0);}

}

/* 弹入-从左 */

@-webkit-keyframes bounceinL{

0%{opacity:0;-webkit-transform:translateX(-100px);}

60%{opacity:1;-webkit-transform:translateX(30px);}

80%{-webkit-transform:translateX(-10px);}

100%{-webkit-transform:translateX(0);}

}

@-moz-keyframes bounceinL{

0%{opacity:0;-moz-transform:translateX(-100px);}

60%{opacity:1;-moz-transform:translateX(30px);}

80%{-moz-transform:translateX(-10px);}

100%{-moz-transform:translateX(0);}

}

@-ms-keyframes bounceinL{

0%{opacity:0;-ms-transform:translateX(-100px);}

60%{opacity:1;-ms-transform:translateX(30px);}

80%{-ms-transform:translateX(-10px);}

100%{-ms-transform:translateX(0);}

}

@keyframes bounceinL{

0%{opacity:0;transform:translateX(-100px);}

60%{opacity:1;transform:translateX(30px);}

80%{transform:translateX(-10px);}

100%{transform:translateX(0);}

}

/* 弹出 */

@-webkit-keyframes bounceout{

0%{-webkit-transform:scale(1);}

25%{-webkit-transform:scale(0.95);}

50%{opacity:1;-webkit-transform:scale(1.1);}

100%{opacity:0;-webkit-transform:scale(0.3);}

}

@-moz-keyframes bounceout{

0%{-moz-transform:scale(1);}

25%{-moz-transform:scale(0.95);}

50%{opacity:1;-moz-transform:scale(1.1);}

100%{opacity:0;-moz-transform:scale(0.3);}

}

@-ms-keyframes bounceout{

0%{-ms-transform:scale(1);}

25%{-ms-transform:scale(0.95);}

50%{opacity:1;-ms-transform:scale(1.1);}

100%{opacity:0;-ms-transform:scale(0.3);}

}

@keyframes bounceout{

0%{transform:scale(1);}

25%{transform:scale(0.95);}

50%{opacity:1;transform:scale(1.1);}

100%{opacity:0;transform:scale(0.3);}

}

/* 弹出-向上*/

@-webkit-keyframes bounceoutT{

0%{-webkit-transform:translateY(0);}

20%{opacity:1;-webkit-transform:translateY(20px);}

100%{opacity:0;-webkit-transform:translateY(-100px);}

}

@-moz-keyframes bounceoutT{

0%{-moz-transform:translateY(0);}

20%{opacity:1;-moz-transform:translateY(20px);}

100%{opacity:0;-moz-transform:translateY(-100px);}

}

@-ms-keyframes bounceoutT{

0%{-ms-transform:translateY(0);}

20%{opacity:1;-ms-transform:translateY(20px);}

100%{opacity:0;-ms-transform:translateY(-100px);}

}

@keyframes bounceoutT{

0%{transform:translateY(0);}

20%{opacity:1;transform:translateY(20px);}

100%{opacity:0;transform:translateY(-100px);}

}

/* 弹出-向右*/

@-webkit-keyframes bounceoutR{

0%{-webkit-transform:translateX(0);}

20%{opacity:1;-webkit-transform:translateX(-20px);}

100%{opacity:0;-webkit-transform:translateX(100px);}

}

@-moz-keyframes bounceoutR{

0%{-moz-transform:translateX(0);}

20%{opacity:1;-moz-transform:translateX(-20px);}

100%{opacity:0;-moz-transform:translateX(100px);}

}

@-ms-keyframes bounceoutR{

0%{-ms-transform:translateX(0);}

20%{opacity:1;-ms-transform:translateX(-20px);}

100%{opacity:0;-ms-transform:translateX(100px);}

}

@keyframes bounceoutR{

0%{transform:translateX(0);}

20%{opacity:1;transform:translateX(-20px);}

100%{opacity:0;transform:translateX(100px);}

}

/* 弹出-向下 */

@-webkit-keyframes bounceoutB{

0%{-webkit-transform:translateY(0);}

20%{opacity:1;-webkit-transform:translateY(-20px);}

100%{opacity:0;-webkit-transform:translateY(100px);}

}

@-moz-keyframes bounceoutB{

0%{-moz-transform:translateY(0);}

20%{opacity:1;-moz-transform:translateY(-20px);}

100%{opacity:0;-moz-transform:translateY(100px);}

}

@-ms-keyframes bounceoutB{

0%{-ms-transform:translateY(0);}

20%{opacity:1;-ms-transform:translateY(-20px);}

100%{opacity:0;-ms-transform:translateY(100px);}

}

@keyframes bounceoutB{

0%{transform:translateY(0);}

20%{opacity:1;transform:translateY(-20px);}

100%{opacity:0;transform:translateY(100px);}

}

/* 弹出-向左 */

@-webkit-keyframes bounceoutL{

0%{-webkit-transform:translateX(0);}

20%{opacity:1;-webkit-transform:translateX(20px);}

100%{opacity:0;-webkit-transform:translateX(-100px);}

}

@-moz-keyframes bounceoutL{

0%{-moz-transform:translateX(0);}

20%{opacity:1;-moz-transform:translateX(20px);}

100%{opacity:0;-moz-transform:translateX(-100px);}

}

@-ms-keyframes bounceoutL{

0%{-ms-transform:translateX(0);}

20%{opacity:1;-ms-transform:translateX(20px);}

100%{opacity:0;-ms-transform:translateX(-100px);}

}

@keyframes bounceoutL{

0%{transform:translateX(0);}

20%{opacity:1;transform:translateX(20px);}

100%{opacity:0;transform:translateX(-200px);}

}

/* 转入 */

@-webkit-keyframes rotatein{

0%{opacity:0;-webkit-transform:rotate(-200deg);}

100%{opacity:1;-webkit-transform:rotate(0);}

}

@-moz-keyframes rotatein{

0%{opacity:0;-moz-transform:rotate(-200deg);}

100%{opacity:1;-moz-transform:rotate(0);}

}

@-ms-keyframes rotatein{

0%{opacity:0;-ms-transform:rotate(-200deg);}

100%{opacity:1;-ms-transform:rotate(0);}

}

@keyframes rotatein{

0%{opacity:0;transform:rotate(-200deg);}

100%{opacity:1;transform:rotate(0);}

}

/* 转入-从左上 */

@-webkit-keyframes rotateinLT{

0%{-webkit-transform-origin:left bottom;-webkit-transform:rotate(-90deg);opacity:0;}

100%{-webkit-transform-origin:left bottom;-webkit-transform:rotate(0);opacity:1;}

}

@-moz-keyframes rotateinLT{

0%{-moz-transform-origin:left bottom;-moz-transform:rotate(-90deg);opacity:0;}

100%{-moz-transform-origin:left bottom;-moz-transform:rotate(0);opacity:1;}

}

@-ms-keyframes rotateinLT{

0%{-ms-transform-origin:left bottom;-ms-transform:rotate(-90deg);opacity:0;}

100%{-ms-transform-origin:left bottom;-ms-transform:rotate(0);opacity:1;}

}

@keyframes rotateinLT{

0%{transform-origin:left bottom;transform:rotate(-90deg);opacity:0;}

100%{transform-origin:left bottom;transform:rotate(0);opacity:1;}

}

/* 转入-从左下 */

@-webkit-keyframes rotateineftB{

0%{-webkit-transform-origin:left bottom;-webkit-transform:rotate(90deg);opacity:0;}

100%{-webkit-transform-origin:left bottom;-webkit-transform:rotate(0);opacity:1;}

}

@-moz-keyframes rotateineftB{

0%{-moz-transform-origin:left bottom;-moz-transform:rotate(90deg);opacity:0;}

100%{-moz-transform-origin:left bottom;-moz-transform:rotate(0);opacity:1;}

}

@-ms-keyframes rotateineftB{

0%{-ms-transform-origin:left bottom;-ms-transform:rotate(90deg);opacity:0;}

100%{-ms-transform-origin:left bottom;-ms-transform:rotate(0);opacity:1;}

}

@keyframes rotateineftB{

0%{transform-origin:left bottom;transform:rotate(90deg);opacity:0;}

100%{transform-origin:left bottom;transform:rotate(0);opacity:1;}

}

/* 转入-从右上 */

@-webkit-keyframes rotateinRT{

0%{-webkit-transform-origin:right bottom;-webkit-transform:rotate(90deg);opacity:0;}

100%{-webkit-transform-origin:right bottom;-webkit-transform:rotate(0);opacity:1;}

}

@-moz-keyframes rotateinRT{

0%{-moz-transform-origin:right bottom;-moz-transform:rotate(90deg);opacity:0;}

100%{-moz-transform-origin:right bottom;-moz-transform:rotate(0);opacity:1;}

}

@-ms-keyframes rotateinRT{

0%{-ms-transform-origin:right bottom;-ms-transform:rotate(90deg);opacity:0;}

100%{-ms-transform-origin:right bottom;-ms-transform:rotate(0);opacity:1;}

}

@keyframes rotateinRT{

0%{transform-origin:right bottom;transform:rotate(90deg);opacity:0;}

100%{transform-origin:right bottom;transform:rotate(0);opacity:1;}

}

/* 转入-从右下*/

@-webkit-keyframes rotateinRB{

0%{-webkit-transform-origin:right bottom;-webkit-transform:rotate(-90deg);opacity:0;}

100%{-webkit-transform-origin:right bottom;-webkit-transform:rotate(0);opacity:1;}

}

@-moz-keyframes rotateinRB{

0%{-moz-transform-origin:right bottom;-moz-transform:rotate(-90deg);opacity:0;}

100%{-moz-transform-origin:right bottom;-moz-transform:rotate(0);opacity:1;}

}

@-ms-keyframes rotateinRB{

0%{-ms-transform-origin:right bottom;-ms-transform:rotate(-90deg);opacity:0;}

100%{-ms-transform-origin:right bottom;-ms-transform:rotate(0);opacity:1;}

}

@keyframes rotateinRB{

0%{transform-origin:right bottom;transform:rotate(-90deg);opacity:0;}

100%{transform-origin:right bottom;transform:rotate(0);opacity:1;}

}

/* 转出 */

@-webkit-keyframes rotateout{

0%{-webkit-transform-origin:center center;-webkit-transform:rotate(0);opacity:1;}

100%{-webkit-transform-origin:center center;-webkit-transform:rotate(200deg);opacity:0;}

}

@-moz-keyframes rotateout{

0%{-moz-transform-origin:center center;-moz-transform:rotate(0);opacity:1;}

100%{-moz-transform-origin:center center;-moz-transform:rotate(200deg);opacity:0;}

}

@-ms-keyframes rotateout{

0%{-ms-transform-origin:center center;-ms-transform:rotate(0);opacity:1;}

100%{-ms-transform-origin:center center;-ms-transform:rotate(200deg);opacity:0;}

}

@keyframes rotateout{

0%{transform-origin:center center;transform:rotate(0);opacity:1;}

100%{transform-origin:center center;transform:rotate(200deg);opacity:0;}

}

/* 转出-向左上 */

@-webkit-keyframes rotateoutLT{

0%{-webkit-transform-origin:left bottom;-webkit-transform:rotate(0);opacity:1;}

100%{-webkit-transform-origin:left bottom;-webkit-transform:rotate(-90deg);opacity:0;}

}

@-moz-keyframes rotateoutLT{

0%{-moz-transform-origin:left bottom;-moz-transform:rotate(0);opacity:1;}

100%{-moz-transform-origin:left bottom;-moz-transform:rotate(-90deg);opacity:0;}

}

@-ms-keyframes rotateoutLT{

0%{-ms-transform-origin:left bottom;-ms-transform:rotate(0);opacity:1;}

100%{-ms-transform-origin:left bottom;-ms-transform:rotate(-90deg);opacity:0;}

}

@keyframes rotateoutLT{

0%{transform-origin:left bottom;transform:rotate(0);opacity:1;}

100%{transform-origin:left bottom;transform:rotate(-90deg);opacity:0;}

}

/* 转出-向左下 */

@-webkit-keyframes rotateoutLB{

0%{-webkit-transform-origin:left bottom;-webkit-transform:rotate(0);opacity:1;}

100%{-webkit-transform-origin:left bottom;-webkit-transform:rotate(90deg);opacity:0;}

}

@-moz-keyframes rotateoutLB{

0%{-moz-transform-origin:left bottom;-moz-transform:rotate(0);opacity:1;}

100%{-moz-transform-origin:left bottom;-moz-transform:rotate(90deg);opacity:0;}

}

@-ms-keyframes rotateoutLB{

0%{-ms-transform-origin:left bottom;-ms-transform:rotate(0);opacity:1;}

100%{-ms-transform-origin:left bottom;-ms-transform:rotate(90deg);opacity:0;}

}

@keyframes rotateoutLB{

0%{transform-origin:left bottom;transform:rotate(0);opacity:1;}

100%{transform-origin:left bottom;transform:rotate(90deg);opacity:0;}

}

/* 转出-向右上 */

@-webkit-keyframes rotateoutRT{

0%{-webkit-transform-origin:right bottom;-webkit-transform:rotate(0);opacity:1;}

100%{-webkit-transform-origin:right bottom;-webkit-transform:rotate(90deg);opacity:0;}

}

@-moz-keyframes rotateoutRT{

0%{-moz-transform-origin:right bottom;-moz-transform:rotate(0);opacity:1;}

100%{-moz-transform-origin:right bottom;-moz-transform:rotate(90deg);opacity:0;}

}

@-ms-keyframes rotateoutRT{

0%{-ms-transform-origin:right bottom;-ms-transform:rotate(0);opacity:1;}

100%{-ms-transform-origin:right bottom;-ms-transform:rotate(90deg);opacity:0;}

}

@keyframes rotateoutRT{

0%{transform-origin:right bottom;transform:rotate(0);opacity:1;}

100%{transform-origin:right bottom;transform:rotate(90deg);opacity:0;}

}

/* 转出-向右下 */

@-webkit-keyframes rotateoutBR{

0%{-webkit-transform-origin:right bottom;-webkit-transform:rotate(0);opacity:1;}

100%{-webkit-transform-origin:right bottom;-webkit-transform:rotate(-90deg);opacity:0;}

}

@-moz-keyframes rotateoutBR{

0%{-moz-transform-origin:right bottom;-moz-transform:rotate(0);opacity:1;}

100%{-moz-transform-origin:right bottom;-moz-transform:rotate(-90deg);opacity:0;}

}

@-ms-keyframes rotateoutBR{

0%{-ms-transform-origin:right bottom;-ms-transform:rotate(0);opacity:1;}

100%{-ms-transform-origin:right bottom;-ms-transform:rotate(-90deg);opacity:0;}

}

@keyframes rotateoutBR{

0%{transform-origin:right bottom;transform:rotate(0);opacity:1;}

100%{transform-origin:right bottom;transform:rotate(-90deg);opacity:0;}

}

/* 翻转 */

@-webkit-keyframes flip{

0%{-webkit-transform:perspective(400px) rotateY(0);-webkit-animation-timing-function:ease-out;}

40%{-webkit-transform:perspective(400px) translateZ(150px) rotateY(170deg);-webkit-animation-timing-function:ease-out;}

50%{-webkit-transform:perspective(400px) translateZ(150px) rotateY(190deg) scale(1);-webkit-animation-timing-function:ease-in;}

80%{-webkit-transform:perspective(400px) rotateY(360deg) scale(0.95);-webkit-animation-timing-function:ease-in;}

100%{-webkit-transform:perspective(400px) scale(1);-webkit-animation-timing-function:ease-in;}

}

@-moz-keyframes flip{

0%{-moz-transform:perspective(400px) rotateY(0);-moz-animation-timing-function:ease-out;}

40%{-moz-transform:perspective(400px) translateZ(150px) rotateY(170deg);-moz-animation-timing-function:ease-out;}

50%{-moz-transform:perspective(400px) translateZ(150px) rotateY(190deg) scale(1);-moz-animation-timing-function:ease-in;}

80%{-moz-transform:perspective(400px) rotateY(360deg) scale(0.95);-moz-animation-timing-function:ease-in;}

100%{-moz-transform:perspective(400px) scale(1);-moz-animation-timing-function:ease-in;}

}

@-ms-keyframes flip{

0%{-ms-transform:perspective(400px) rotateY(0);-ms-animation-timing-function:ease-out;}

40%{-ms-transform:perspective(400px) translateZ(150px) rotateY(170deg);-ms-animation-timing-function:ease-out;}

50%{-ms-transform:perspective(400px) translateZ(150px) rotateY(190deg) scale(1);-ms-animation-timing-function:ease-in;}

80%{-ms-transform:perspective(400px) rotateY(360deg) scale(0.95);-ms-animation-timing-function:ease-in;}

100%{-ms-transform:perspective(400px) scale(1);-ms-animation-timing-function:ease-in;}

}

@keyframes flip{

0%{transform:perspective(400px) rotateY(0);animation-timing-function:ease-out;}

40%{transform:perspective(400px) translateZ(150px) rotateY(170deg);animation-timing-function:ease-out;}

50%{transform:perspective(400px) translateZ(150px) rotateY(190deg) scale(1);animation-timing-function:ease-in;}

80%{transform:perspective(400px) rotateY(360deg) scale(0.95);animation-timing-function:ease-in;}

100%{transform:perspective(400px) scale(1);animation-timing-function:ease-in;}

}

/* 翻入-X轴 */

@-webkit-keyframes flipinX{

0%{-webkit-transform:perspective(400px) rotateX(90deg);opacity:0;}

40%{-webkit-transform:perspective(400px) rotateX(-10deg);}

70%{-webkit-transform:perspective(400px) rotateX(10deg);}

100%{-webkit-transform:perspective(400px) rotateX(0);opacity:1;}

}

@-moz-keyframes flipinX{

0%{-moz-transform:perspective(400px) rotateX(90deg);opacity:0;}

40%{-moz-transform:perspective(400px) rotateX(-10deg);}

70%{-moz-transform:perspective(400px) rotateX(10deg);}

100%{-moz-transform:perspective(400px) rotateX(0);opacity:1;}

}

@-ms-keyframes flipinX{

0%{-ms-transform:perspective(400px) rotateX(90deg);opacity:0;}

40%{-ms-transform:perspective(400px) rotateX(-10deg);}

70%{-ms-transform:perspective(400px) rotateX(10deg);}

100%{-ms-transform:perspective(400px) rotateX(0);opacity:1;}

}

@keyframes flipinX{

0%{transform:perspective(400px) rotateX(90deg);opacity:0;}

40%{transform:perspective(400px) rotateX(-10deg);}

70%{transform:perspective(400px) rotateX(10deg);}

100%{transform:perspective(400px) rotateX(0);opacity:1;}

}

/* 翻入-Y轴 */

@-webkit-keyframes flipinY{

0%{-webkit-transform:perspective(400px) rotateY(90deg);opacity:0;}

40%{-webkit-transform:perspective(400px) rotateY(-10deg);}

70%{-webkit-transform:perspective(400px) rotateY(10deg);}

100%{-webkit-transform:perspective(400px) rotateY(0);opacity:1;}

}

@-moz-keyframes flipinY{

0%{-moz-transform:perspective(400px) rotateY(90deg);opacity:0;}

40%{-moz-transform:perspective(400px) rotateY(-10deg);}

70%{-moz-transform:perspective(400px) rotateY(10deg);}

100%{-moz-transform:perspective(400px) rotateY(0);opacity:1;}

}

@-ms-keyframes flipinY{

0%{-ms-transform:perspective(400px) rotateY(90deg);opacity:0;}

40%{-ms-transform:perspective(400px) rotateY(-10deg);}

70%{-ms-transform:perspective(400px) rotateY(10deg);}

100%{-ms-transform:perspective(400px) rotateY(0);opacity:1;}

}

@keyframes flipinY{

0%{transform:perspective(400px) rotateY(90deg);opacity:0;}

40%{transform:perspective(400px) rotateY(-10deg);}

70%{transform:perspective(400px) rotateY(10deg);}

100%{transform:perspective(400px) rotateY(0);opacity:1;}

}

/* 翻出-X轴 */

@-webkit-keyframes flipoutX{

0%{-webkit-transform:perspective(400px) rotateX(0);opacity:1;}

100%{-webkit-transform:perspective(400px) rotateX(90deg);opacity:0;}

}
自我介绍一下,小编13年上海交大毕业,曾经在小公司待过,也去过华为、OPPO等大厂,18年进入阿里一直到现在。

深知大多数前端工程师,想要提升技能,往往是自己摸索成长或者是报班学习,但对于培训机构动则几千的学费,着实压力不小。自己不成体系的自学效果低效又漫长,而且极易碰到天花板技术停滞不前!

因此收集整理了一份《2024年Web前端开发全套学习资料》,初衷也很简单,就是希望能够帮助到想自学提升又不知道该从何学起的朋友,同时减轻大家的负担。

img

既有适合小白学习的零基础资料,也有适合3年以上经验的小伙伴深入学习提升的进阶课程,基本涵盖了95%以上前端开发知识点,真正体系化!

由于文件比较大,这里只是将部分目录截图出来,每个节点里面都包含大厂面经、学习笔记、源码讲义、实战项目、讲解视频,并且会持续更新!

如果你觉得这些内容对你有帮助,可以扫码获取!!(资料价值较高,非无偿)

最后

前端CSS面试题文档,JavaScript面试题文档,Vue面试题文档,大厂面试题文档,需要的读者可以戳这里获取!

perspective(400px) rotateY(0);opacity:1;}

}

@keyframes flipinY{

0%{transform:perspective(400px) rotateY(90deg);opacity:0;}

40%{transform:perspective(400px) rotateY(-10deg);}

70%{transform:perspective(400px) rotateY(10deg);}

100%{transform:perspective(400px) rotateY(0);opacity:1;}

}

/* 翻出-X轴 */

@-webkit-keyframes flipoutX{

0%{-webkit-transform:perspective(400px) rotateX(0);opacity:1;}

100%{-webkit-transform:perspective(400px) rotateX(90deg);opacity:0;}

}
自我介绍一下,小编13年上海交大毕业,曾经在小公司待过,也去过华为、OPPO等大厂,18年进入阿里一直到现在。

深知大多数前端工程师,想要提升技能,往往是自己摸索成长或者是报班学习,但对于培训机构动则几千的学费,着实压力不小。自己不成体系的自学效果低效又漫长,而且极易碰到天花板技术停滞不前!

因此收集整理了一份《2024年Web前端开发全套学习资料》,初衷也很简单,就是希望能够帮助到想自学提升又不知道该从何学起的朋友,同时减轻大家的负担。

[外链图片转存中…(img-7DyAXzlF-1711654483481)]

[外链图片转存中…(img-mIfYmwWH-1711654483481)]

既有适合小白学习的零基础资料,也有适合3年以上经验的小伙伴深入学习提升的进阶课程,基本涵盖了95%以上前端开发知识点,真正体系化!

[外链图片转存中…(img-MI9drufn-1711654483482)]

由于文件比较大,这里只是将部分目录截图出来,每个节点里面都包含大厂面经、学习笔记、源码讲义、实战项目、讲解视频,并且会持续更新!

如果你觉得这些内容对你有帮助,可以扫码获取!!(资料价值较高,非无偿)

最后

前端CSS面试题文档,JavaScript面试题文档,Vue面试题文档,大厂面试题文档,需要的读者可以戳这里获取!

[外链图片转存中…(img-fmr6b3z2-1711654483482)]

[外链图片转存中…(img-73yPbYQF-1711654483482)]

转载请注明出处或者链接地址:https://www.qianduange.cn//article/4881.html
标签
评论
发布的文章

JQuery中的load()、$

2024-05-10 08:05:15

大家推荐的文章
会员中心 联系我 留言建议 回顶部
复制成功!