Chrome支持元素上的占位符属性input[type=text](其他可能也支持)。
但是以下CSS内容对占位符的价值没有任何作用:
input[placeholder], [placeholder], *[placeholder] { color: red !important; } <input type="text" placeholder="Value">
Value仍将保留grey而不是red。
有没有办法更改占位符文本的颜色?