将input标签的边框变成圆角矩形,为什么会有外边框,怎样消除?

2025-04-06 08:22:57
推荐回答(1个)
回答1:

HTML中,input标签默认是有边框(border)和背景色属性的。可以在CSS中加入border:none;(或者在html中加入style="border:none;")可以去掉边框。 input标签在鼠标点击时,会有黄色的边框。