CSS accent-color quirk

 I have been using 'accent-color' in CSS to set the background color of checkboxes and radio buttons.


I found one quirk.


I have a set of checkboxes with a CSS animation taking the 'accent-colors' through a rainbow. The background colors start off all in sync. But if I check and un-check some boxes then the colors get out of sync. It is as though un-checking a box restarts the animation afresh.


There are more tips at: bbingo.xyz/t

Comments

Popular posts from this blog

Giving PWA icons transparent backgrounds

RCS 'identification marker' comes in useful

Marking up code examples