1

Is it possible to read the CSS properties applied to input placeholders using Javascript or Chrome dev tools?

Hamdi Baccara
  • 29
  • 1
  • 11

1 Answers1

1

EDIT:
your question should be a duplicate of Inspect webkit-input-placeholder with developer tools


You must enable the shadow dom on the general tab on your Dev-Tools settings:

enter image description here

Now you can inspect the placeholder in the shadow dom:

enter image description here

Ciao Ralf

Community
  • 1
  • 1
RWAM
  • 6,760
  • 3
  • 32
  • 45