HTML中,input标签默认是有边框(border)和背景色属性的。可以在css中加入border:none;(或者在html中加入style=”border:none;”)可以去掉边框。input标签在鼠标点击时,会有黄色的边框。如果不需要,可以在css属性中加input{outline:medium;}属性去掉。
100字范文,内容丰富有趣,生活中的好帮手!
时间:2019-01-26 12:50:00
HTML中,input标签默认是有边框(border)和背景色属性的。可以在css中加入border:none;(或者在html中加入style=”border:none;”)可以去掉边框。input标签在鼠标点击时,会有黄色的边框。如果不需要,可以在css属性中加input{outline:medium;}属性去掉。
css中去掉input边框颜色 css怎么去掉input边框
2019-03-17