Unfinished attempt at an illustration of this classic problem in HTML/CSS/JavaScript