I have a dilemma with displaying multiple links side by side and would like to separate them with dividing dashes. My solution involved utilizing the ::before pseudo element, which achieved the desired effect seamlessly.
However, a new issue arose - hovering over the dividers also triggers a hover effect on the element containing the ::before pseudo element.
You can see an example of this problem in this fiddle. When you hover over the dashes, the underline appears under the link.
In my quest to find a solution, I stumbled upon a relevant discussion on Stack Overflow. By referencing additional resources such as the Mozilla Developer Network documentation and the Can I Use page on pointer-events property, I was optimistic that this issue would be resolved. Unfortunately, it wasn't.
What am I overlooking here?