Skip to content

Comment on Game made using only CSSparent

Comments

Can you use CSS to throw your browser into an infinite loop?

I've seen this, in situations where a link is set to become bold when the mouse pointer is hovering over it. The result is that the text becomes bold, and redistributes itself. Having redistributed itself, the bold link is no longer under your mouse pointer, so the link shrinks back to normal font weight. Now the link is back under your mouse pointer so it becomes bold again. Repeat.

A Turing complete machine can require a manual intervention for each step. But yes, if you keep clicking an infinite number of times it can be.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.