From: Ben Harris Date: Sun, 12 Oct 2025 00:02:10 +0000 (+0100) Subject: webstead: mark :active pixels X-Git-Tag: bedstead-3.261~38 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~bjharris/git?a=commitdiff_plain;h=e3fca90c39d6d16e8c430404482254a70b05d5e4;p=bedstead.git webstead: mark :active pixels This makes it more obvious that something is happening when the mouse button is pressed, even though the tickybox doesnt change state until it's released. Thus should make the UI feel less sluggish. --- diff --git a/webstead.xhtml b/webstead.xhtml index f0df386..03877f2 100644 --- a/webstead.xhtml +++ b/webstead.xhtml @@ -34,6 +34,9 @@ height: var(--pix); border: 1px solid; } + #pixels input:active { + border: 3px solid; + } #pixels input:checked { background: currentColor; }