The first approach is to only trigger :valid / :invalid when a form element has focus. input:focus:invalid { border: 2px solid red; }.
確定! 回上一頁