Open andria-dev opened 5 years ago
In the paper-input element, it isn't possible to change the color of the placeholder independently from the label's color via the CSS variables.
paper-input
I am trying to create a paper-input element where the color of the label is white while the placeholder is the default #757575.
Placeholder color is #757575 Label color is white
Placeholder color is white Input color is white
https://glitch.com/edit/#!/opposite-chopper
paper-input { --paper-input-container-color: white; }
Affects all browsers that can do CSS Variables I suppose
Description
In the
paper-input
element, it isn't possible to change the color of the placeholder independently from the label's color via the CSS variables.I am trying to create a
paper-input
element where the color of the label is white while the placeholder is the default #757575.Expected outcome
Placeholder color is #757575 Label color is white
Actual outcome
Placeholder color is white Input color is white
Live Demo
https://glitch.com/edit/#!/opposite-chopper
Steps to reproduce
paper-input
element in the pageBrowsers Affected
Affects all browsers that can do CSS Variables I suppose