方式一:直接透明隐藏 .file_button_container,.file_button_container input {background: transparent url(./img/BT5AB.png) left top no-repeat;height: 47px;width: 263px;} .file_button_container {background: transparent url(./img/BT5AB.png) left top no-repeat;} .fil
input选择框是无法直接修改样式,我们只能间接来改变它样式. 原理:用图片来代替原来的input选择框,原来的input选择框定位到图片上方并让它opacity为0,鼠标点击时用js来改变图片,这样从视觉上就完成了input选择框样式的修改 HTML <i></i> <input type="checkbox" /> 我已阅读并接受<a href=""><***></a> CSS i { di