Re:Modern CSS Code Snippets: Stop writing CSS like it's 2015
by folbec on Monday February 16, 2026 @09:27AM
(#47035383)
there is a bug in the CSS :
explicit border:2px solid var(--border); on the input which takes priority over the class :
.demo-uv-input:user-invalid { border-color: var(--red-muted); background: rgba(239,68,68,.04); }
YMMV but when corrected it works for me on latest Edge, Chrome, Firefox (Windows versions)
That one is a dud. Most others work for me, though.