.dianAnimat1{
position:relative !important;
animation:mymove 1.1s infinite !important;
// animation-direction:alternate;/*轮流反向播放动画。*/
animation-timing-function: ease-in !important; /*动画的速度曲线*/
/* Safari 和 Chrome */
-webkit-animation:mymove 1.1s infinite !important;
// -webkit-animation-direction:alternate;/*轮流反向播放动画。*/
-webkit-animation-timing-function: ease-in !important; /*动画的速度曲线*/
}
@keyframes mymove{
0%{
transform: scale(0.5); /*开始为原始大小*/
background:rgba(20, 255, 77, 1.0);
}
25%{
transform: scale(1);
background:rgba(20, 255, 77, .85);
}
50%{
transform: scale(2);
background:rgba(20, 255, 77, .7);
}
75%{
transform: scale(3.8);
background:rgba(20, 255, 77, .5);
}
100%{
transform: scale(6);
background:rgba(20, 255, 77, .2);
}
}
/*Safari and Chrome*/
@-webkit-keyframes mymove{
0%{
transform: scale(0.5); /*开始为原始大小*/
background:rgba(20, 255, 77, 1.0);
}
25%{
transform: scale(1);
background:rgba(20, 255, 77, .85);
}
50%{
transform: scale(2);
background:rgba(20, 255, 77, .7);
}
75%{
transform: scale(3.8);
background:rgba(20, 255, 77, .5);
}
100%{
transform: scale(6);
background:rgba(20, 255, 77, .2);
}
}
效果图:【动态的】