使用css样式 解决input 设置disabled="true"属性后变为灰色问题

来源:互联网 发布:数据库系统基础知识 编辑:程序博客网 时间:2024/06/06 03:42


很简单为disabled设置背景颜色为白色(color设置的是input框中值的颜色)

 

<style type="text/css">                input[disabled]{background:#fff;opacity:1;color:black;}        </style>



阅读全文
0 0
原创粉丝点击