My css skills are getting rusty, and I cannot figure out how to deal with this problem.
I’ve simple span that contains text “More” I need to place it on top of a href and preserve href capacity.
I tried to position it absolute but it still breaks click-ability.
Any thoughts?
You can place the span within the a tag and call it a day. Otherwise, what you’re looking to do is use the
z-indexproperty.By setting a positioning property to the a tag (
position:relativeperhaps), you can effectively set and usez-index: 2to force the link to sit above the span. It might help to setz-index: 1to the span as well.