styling input tags Flashcards
This is used to point and style an input field when it
gets focus or is currently being used.
:focus
This is used to point and style checked <input></input>
elements (for INPUT types radio and checkbox only)
:checked
This is used to select and style <input></input> elements that
has a “required” attribute.
:required
This is used to select and style <input></input> Elements with
no “required” attribute.
:optional
This is used to point and style all <input></input> elements
with a valid value.
:valid
This is used to point and style all <input></input> elements
with an invalid data.
:invalid
This is used to place a content before the specified
element.
::before
This is used to place a content after the specified
element.
::after