CSS ::placeholder Selector
CSS ::placeholder Selector
The ::placeholder selector is used to selecting form elements with placeholder text and allows us to style the placeholder text. It is actually a text that is set by the placeholder attribute and it specifies a hint to describe the expected value in the input.
Syntax:-
Its syntax is:-
::placeholder {
css declarations;
}