svg { border: solid 1px #666; overflow: hidden; } path { fill: yellow; stroke: #000; stroke-width: .5px; } circle { fill: #ccc; stroke: #000; pointer-events: none; }