The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Animated Icon Before Link Reply To: Animated Icon Before Link


Do you mean a :before pseudo element? Why would you not be able to use a :before (or :after) pseudo element (on the ‘li’ or ‘a’ element)?

I think we would need to see a CodePen demo of what you’re working with, and for example, if the animation only displays when a list item is hovered.