Utilizing a reactive form for users to update their password. I aim to customize the input boxes to indicate any invalid submissions or errors.
input.ng-invalid {
border: 1px solid red;
}
An issue arises where the styling shows even before the user interacts with the form. I seek a way for this CSS to only take effect after the form has been interacted with. Any suggestions on achieving this behavior using CSS?