+ 7

Need help CSS hover effect not working.

I'm trying to create a pulse effect on hover but it's not working can anyone tell me what I did wrong ... ? https://code.sololearn.com/WrA11t43zQ8l/?ref=app

19th Feb 2018, 5:14 AM
Siddhant Singh
Siddhant Singh - avatar
4 Answers
19th Feb 2018, 5:56 AM
Elizabeth🌾
Elizabeth🌾 - avatar
+ 8
you mean this add and ssee .main:hover{ -webkit-animation:pulse 3s linear infinite; }
19th Feb 2018, 5:30 AM
Sudarshan Rai
Sudarshan Rai - avatar
+ 6
I want to animate the background shadow not the main div.
19th Feb 2018, 5:37 AM
Siddhant Singh
Siddhant Singh - avatar
+ 5
@Elizabeth not exactly but not a problem I made changes in the DOM. It's working just fine.
19th Feb 2018, 6:05 AM
Siddhant Singh
Siddhant Singh - avatar