The forums ran from 2008-2020 and are now closed and viewable here as an archive.
Home › Forums › CSS › Animate :before pseudo class?
Hi,
I’m attempting to use css3 animations on the **:before** pseudo class…but it doesn’t seem to work. Is this even possible?
Example: http://jsfiddle.net/NHm2P/1/
Any help is appreciated. Thanks
Works for me in Chrome.
Have a read of the following article
https://css-tricks.com/transitions-and-animations-on-css-generated-content/
I have the same issue on Safari. Try this without the pseudo-element by adding a SPAN (edit: as you said). http://codepen.io/rodolpheb/pen/sjivh