【发布时间】:2017-04-13 16:01:57
【问题描述】:
我用蓝色字体颜色和红色placeholder 做了一个input,
现在我想通过 Chrome 开发者工具 (F12) 检查其他 placeholder 颜色,就像我可以为字体颜色做的一样 -
我怎样才能为 placeholder 获得相同的 Chrome 开发人员工具颜色选择器?
input[type="text"] {
color: blue;
}
::-webkit-input-placeholder {
color: red;
}
<input type="text" placeholder="Type Here">
【问题讨论】:
标签: css google-chrome google-chrome-devtools