There is a CSS effect for the ::after
element. For example:
.wrapper a:hover:after, footer.main-footer a:hover:after {
background:#ff0000;
}
And in the Chrome developer console, I notice that there is some link tag has ::after
inside, that will show the effect
<a href="test.com" data-term="event">Event::after</a>
While some does not have it
<a class="back-to-portfolio" href="test2.com">All</a>
That element does not show the effect. The problem is, how to add the ::after
to the link tag or under what conditions the ::after
will show?