Simple demonstration of CSS Sparks, a technique
to observe user events without JavaScript.
-
Install Deno
-
Start the server
deno run dev
-
Open a browser at
http://localhost:8000
Upon hovering / unhovering the element on the left side,
the indicator on the right changes it's background color.
The spark allows the server to observe the hover / unhover
event, which it responds to with a style tag overriding the
indicators' background color.