Best method for creating a pure HTML5 + CSS3 animated “sonar wave” icon.

前端 未结 2 1457
有刺的猬
有刺的猬 2021-01-07 05:51

I\'ve created the following animated icon here:

http://jsfiddle.net/KphgD/9

Does anyone have any experience designing a comparable icon or have any suggestio

2条回答
  •  傲寒
    傲寒 (楼主)
    2021-01-07 06:20

    Check this part of the animation principles https://en.wikipedia.org/wiki/12_basic_principles_of_animation#Follow_through_and_overlapping_action

    Instead of displaying all at once, overlap some action of the individual arcs.

    Edit

    For example: http://jsfiddle.net/efortis/KphgD/7/

    
    
    
    
    
    
    .pulse1 { -webkit-animation: pulsate 1.1s infinite ease-out; }
    .pulse2 { -webkit-animation: pulsate .9s infinite ease-out; }
    .pulse3 { -webkit-animation: pulsate .7s infinite ease-out; }
    .pulse4 { -webkit-animation: pulsate .2s infinite ease-out; }
    

    P.D. Play with the easing and duration to tune it. ​

提交回复
热议问题