How do I create a CSS triangle (for example) which will trigger the hover event only inside the borders of the triangle?
In practise, it will be location on the game and different objects on it, which should blur if we hover it.
Notice in this demo that the span:hover
styles trigger when entering the element's rectangle bounds, not triangle.