为了让带背景颜色的表单页面更美观,有时候需要把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">(无边框)
CSS实现HTML页面输入框背景透明化
最新推荐文章于 2023-05-22 10:04:14 发布
本文介绍如何通过简单CSS样式设置使网页表单中的input输入框背景变为透明,并提供了不同边框样式的示例代码。
826

被折叠的 条评论
为什么被折叠?



