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

Home Forums CSS Control animated underline on hyperlinks Reply To: Control animated underline on hyperlinks


Certainly it can be applied to all links…that’s what your original code did.

What it won’t do is fix the problem with images inside links being underlined…because they are still links even if they contain images instead of text.

The only solution there is to apply a separate class to those links which remove this styling…Catch 22.

Either way, you need to apply a class to something and there is no simple (“add a selector”) solution since there is no selector (yet) for determining how a parent should act based on a child element.