J
J
Jedi2018-03-03 03:24:04
css
Jedi, 2018-03-03 03:24:04

How to implement a pulsating animation like on Youtube?

How to implement such animation as on Youtube? 5a99eae5369f9761574611.png
Please, take a look on YouTube, when you click on the notification button, there is an animation, and then a block with notifications appears.
Thanks in advance!

Answer the question

In order to leave comments, you need to log in

2 answer(s)
E
Exploding, 2018-03-03
@Exploding

Maybe fian.my.id/Waves ?

T
tempick, 2018-03-03
@tempick

Place a div with a size of 0 by 0 pixels behind the button. for the div border-radius:50%;opacity:0;.
Then, through javascript on the click event, change the size of the div and the transparency of the background in a loop

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question