How to remove the default style of the input tag

You only need to add an outline:none style to the input tag to achieve it

<style>
    input {
        outline:none
   }
</style>

There is another way to directly control the focus of the input label so that the default border does not appear. The code is as follows:

input:focus{ outline:none; }

This will probably solve it! ! ! !

Guess you like

Origin blog.csdn.net/m0_60237095/article/details/129714083