A pseudo-element and pseudo-class to allow you to style a text input's placeholder text, or to style a text input based on whether or not the placeholder text is visible.
:placeholder-shown and ::placeholder on W3C.
Type some text into the input below. A message will display to show the removed placeholder text. This is just one application of the