In the browser, where to find styles -webkit-input-placeholder? I just don’t understand where they overlap ... In other browsers, it is displayed normally.

  • "Where to find in the browser" - in which? - lexxl
  • and what you can not? - user33274
  • in chrome, prompted, it is necessary, it turns out after each selector to put- -webkit-input-placeholder . - NNN
  • I did not understand either the question or the answer. - Jarvis

1 answer 1

You must use the following selector to apply the style to the placeholder of any input[placeholder] { тут ваш набор стилей; } : input[placeholder] { тут ваш набор стилей; } input[placeholder] { тут ваш набор стилей; }

If there are several inputs, you can change the placeholder style through the classes: .class-name[placeholder] { /* тут ваш набор стилей */}