I created a JSFiddle to show my problem.
When you click a paragraph, the ‘hidden’ class is set, so a webkit animation should be played, the paragraph should disappear in 5 seconds.
The class is set, and the animation is not played.
I must have missed something very simple.
Can anyone please point it out?
Thanks
Try removing the colons before from/to attributes in the @keyframe rule.
Original CSS
Fixed CSS
Example: http://jsfiddle.net/sqMT6/3/