Textarea Placeholder Font Family

Related Post:

Textarea Placeholder Font Family - ... font-family: Impact, sans-serif; } The Solution A ::placeholder pseudo-element is needed. You can apply styles to placeholder directly without impacting input field text styles like this. .input-txt::placeholder font-family: Impact, sans-serif; This will work for Chrome, Firefox and Safari. Placeholder text will automatically inherit the font family and font size of the regular input text but you may be in a situation where you want to change the placeholder text color You can accomplish that with the placeholder pseudo element

Textarea Placeholder Font Family

Textarea Placeholder Font Family

Textarea Placeholder Font Family

::placeholder The ::placeholder CSS pseudo-element represents the placeholder text in an or