How to Style HTML Input Placeholder Text Using CSS

preview_player
Показать описание

Color is a simple, subtle way to convey meaning to users. It can also be helpful in establishing a brand.

HTML input fields can have placeholder text added that can serve either as a label or for instructions.

But you can also customize the color to convey extra meaning.

CSS provides two selectors or ways to apply styles to input placeholders and the input elements with placeholder text.

::placeholder (vendor specific variations)
:placeholder-shown

Get social with Love2Dev on:
Рекомендации по теме
Комментарии
Автор

amazing tutorial earn my subscribe and respect wish best of luck

mustafahany
Автор

You talk way too much man. Get it to the point.

jmanoeuvres
visit shbcf.ru