为了让带背景颜色的表单页面更美观,有时候需要把input 输入框设置成透明的背景,实现这种效果,需要在input 添加输入框属性:”background-color:transparent”
<input style="background-color:transparent" type="text" name="name"> <wbr></wbr>(有边框)
<input style="background-color:transparent; border-width:1;">(细边框)
<input <wbr></wbr> <wbr></wbr> style="background-color: <wbr></wbr> <wbr></wbr> transparent; <wbr></wbr> <wbr></wbr> border: <wbr></wbr> <wbr></wbr> 0px">(无边框)