阅读背景:

当文本字段背景不透明时,如何使输入占位符文本不透明

来源:互联网 

I have an input text field that is at { opacity: 0.2; } and has a background color of white (#ffffff) on top of a black and white image. The text field is at the correct opacity and looks great. But I want the placeholder text to be white and not effected by the opacity of the input field. I have tried looking up how to style placeholder text, but it still seems to be effected by the elements opacity. How do I go about doing this?I have an input text field that is at { opacity




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: