Home › Forums › CSS › Control animated underline on hyperlinks › Reply To: Control animated underline on hyperlinks
February 19, 2018 at 1:26 am
#267239
Paulie_D
Member
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.