【发布时间】:2015-04-21 01:44:20
【问题描述】:
我创建了类似的css代码
.inputHide {
font-size : 100px;
width : 100px;
height : 100px;
border : none;
background : transparent;
readonly : true;
}
但它不起作用。虽然如果我使用 1px 的字体大小,那么通过使用选项卡我可以访问该文本框并可以更改它的值。
有没有办法只使用 css 将文本框设为只读..
【问题讨论】:
标签: css