::placeholder

Term side of the Card
Topic: Pseudo Elements
Unit title: ::placeholder
Categories: Pseudo-element
Explanation side of the Card

Explanation: The pseudo-element used to style the placeholder text within an input or textarea element. It allows changing the appearance of the placeholder, such as its color, font or opacity, without affecting the input text itself.

Browser compatibility:
  • The chrome browser supports this feature starting from version 57
  • The edge browser supports this feature starting from version 79
  • The firefox browser supports this feature starting from version 51
  • The safari browser supports this feature starting from version 10.1
Availability: