🏠 New in Low Baseline Support: Form validity pseudo-classes

July 29, 2015

caniuse · mdn · spec

The form validity CSS pseudo-classes match <form> elements based on the constraints of a form field, such as validity (:valid, :invalid, :in-range, :out-of-range) and necessity (:optional or :required).

Source features