views:

62

answers:

0

How to enable -webkit-animation for :before and :after pseudo elements?

You can see in http://jsfiddle.net/4rnsx/ that it is not working for :before and :after.
And here I am trying to enable this feature with Mootools http://jsfiddle.net/6bzCS/.


Mozilla - will support it in Firefox 4 https://developer.mozilla.org/en/CSS/-moz-transition-property
W3C - CSS3 supports transition-property for all elements, :before and :after pseudo elements http://www.w3.org/TR/css3-transitions/#transition-property


Update: How to enable fadein,fadeout for CSS3 tooltip http://css-plus.com/2010/04/create-a-speech-bubble-tooltip-using-css3-and-jquery/ and demo?