I try to make an animation with webkit-animation and @-webkit-keyframes. I have a div animated with child div inside.
And i would stop the webkit-animation of the parent when my mouse is over a child.
Any Examples ?
Thanks
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Unfortunately there is no parent selector in CSS, see here. You will have to use a bit of javascript to select the parent and tell it to pause.
The pause declaration in CSS goes like this:
The javascript (jQuery, in this case) would look something like this:
See a live demo here:
http://jsfiddle.net/UFepV/