Compare Revisions

:valid

Change Revisions

Revision 57478:

Revision 57478 by Sheppy on

Revision 57479:

Revision 57479 by jswisher on

Title:
:valid
:valid
Slug:
CSS/:valid
CSS/:valid
Tags:
css, "CSS Reference", Selectors, NeedsMobileBrowserCompatibility
css, "CSS Reference", Selectors, NeedsMobileBrowserCompatibility
Content:

Revision 57478
Revision 57479
t14      The <code>:valid</code> CSS pseudo-class is applied automatt14      The <code>:valid</code> CSS pseudo-class is applied automat
>ically to {{ HTMLElement("input") }}&nbsp;elements whose contents>ically to {{ HTMLElement("input") }}&nbsp;elements whose contents
> validate correctly according to the input's type setting. This a> validate correctly according to the input's type setting. This a
>llows you to easily havevalid&nbsp; fields adopt an appearance th>llows you to easily make valid fields adopt an appearance that he
>at helps the user confirm that their data is formatted properly.>lps the user confirm that their data is formatted properly.

Back to History