CSS-only chat: async web chat using no JavaScript
However, we can use it to effectively detect button presses:
What’s cool is that a browser won’t actually load that background image until this selector is used – that is, when this button is pressed. Now, of course, this only works once per button (since a browser won’t try to load that image twice), but it’s a start. How about, when you load the index page, this happens:
Ok, so we have that problem earlier where each button is only single-use.
Source: github.com