Hacker News new | ask | show | jobs
by kshay 989 days ago
Huh, never realized you could target individual elements of an SVG with CSS :hover rules!

https://upload.wikimedia.org/wikipedia/commons/a/ac/Comparis...

4 comments

Wikipedia has a number of cool, interactive SVGs. This illustration of satelite orbits is my personal favourite: https://upload.wikimedia.org/wikipedia/commons/b/b4/Comparis...
I didn't know this either! I once made an interactive dashboard and couldn't figure out how to add an on-click action to my SVG heat map. So I used the same coordinates that I used for the heat map to make a bunch of invisible divs on top of the SVG, and added on-click actions to those divs.
Yes, this was interesting to learn.

On a tangent: it's awe-inspiring just how much older the Egyptian pyramids are, vis-a-vis the other pyramidal structures listed there.

Transamerica Pyramid : lol
how can I take this comparison seriously when they don't even include the Bass Pro Shops pyramid?