android 动画 重影,CSS3 演示运动过程中的模糊重影

CSS

语言:

CSSSCSS

确定

body {

margin: 0

}

.triangle {

width: 0;

border-right: solid 60px transparent;

border-left: solid 60px transparent;

border-top: 80px solid #4BB5E6;

filter: drop-shadow(0px 2px 4px rgba(0, 0, 0, 0.4));

-webkit-filter: drop-shadow(0px 2px 3px rgba(0, 0, 0, 0.5));

position: absolute;

top: 20px;

left: 20px;

-webkit-animation: 6s first;

animation: 6s first;

}

.two {

-webkit-animation: 6.1s first;

animation: 6.1s first;

filter: blur(0.5px);

opacity: 0.8;

}

.three {

-webkit-animation: 6.2s first;

animation: 6.2s first;

filter: blur(1px);

opacity: 0.6;

}

.four {

-webkit-animation: 6.4s first;

animation: 6.4s first;

filter: blur(1.5px);

opacity: 0.4;

}

.five {

-webkit-animation: 6.8s first;

animation: 6.8s first;

filter: blur(2px);

opacity: 0.2;

}

.six {

-webkit-animation: 7.2s first;

animation: 7.2s first;

filter: blur(2.5px);

opacity: 0.1;

}

@keyframes first {

20% {

top: 80px;

left: 80%;

-webkit-transform: rotate(120deg);

transform: rotate(120deg);

}

40% {

top: 160px;

left: 12px;

-webkit-transform: rotate(240deg);

transform: rotate(240deg);

}

60% {

top: 240px;

left: 80%;

}

80% {

top: 320px;

left: 12px;

}

100% {

top: 400px;

left: 80%;

}

}

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值