html – How to remove stroke on click on input

Question:

When you click and focus on the input , a stroke appears. How to remove it?

Answer:

input {outline:none;}

The same technique removes the dotted line around the clicked link and around any of the form elements.

Scroll to Top