:read-only选择器

“:read-only”伪类选择器用来指定处于只读状态元素的样式。简单点理解就是,元素中设置了“readonly=’readonly’”css 示例演示html 经过“:read-only”选择器来设置地址文本框的样式。spa HTML代码:code <form action="#"> <div> <label for="name">姓名:</label> <input typ
相关文章
相关标签/搜索