Nice little demo by Adam Argyle in which he makes the focus ring pop by changing its outline-offset
(with a transition) on focus.
The code also correctly respects the user’s prefers-reduced-motion
preference.
A rather geeky/technical weblog, est. 2001, by Bramus
Nice little demo by Adam Argyle in which he makes the focus ring pop by changing its outline-offset
(with a transition) on focus.
The code also correctly respects the user’s prefers-reduced-motion
preference.