如何在输入框中显示灰色提示字体? <input type="text" placeholder="邮箱/手机号/淘宝会员名"/> 整个div透明化显示?
1 background-color:gray;/*设置背景色*/ 2 3 border: 1px solid black;/*设置边框*/ 4 5 filter:alpha(opacity=60);/* for IE */ 6 7 opacity:0.9;/* CSS3 standard */
时间: 2024-08-02 15:12:29
如何在输入框中显示灰色提示字体? <input type="text" placeholder="邮箱/手机号/淘宝会员名"/> 整个div透明化显示?
1 background-color:gray;/*设置背景色*/ 2 3 border: 1px solid black;/*设置边框*/ 4 5 filter:alpha(opacity=60);/* for IE */ 6 7 opacity:0.9;/* CSS3 standard */