A stroke appears when you click on an imput (it is placed above the diva with an imitation of a beautiful checkbox). I wrote outline:0;:focus{outline: 0;} - did not help.

Any stroke can be removed)
input {outline:none;} The same technique removes the stroke with a dotted line around the clicked link and around any of the form elements.
The best solution that removes the highlight of any elements:
/* Remove outline on the forms and links */ :active, :hover, :focus { outline: 0; outline-offset: 0; } as an option
{ outline:none; } outline: none , I think the author of the question noticed them :)) - ArthurAlso onFocus="this.blur()" .
There is no way to physically remove the stroke, the browser draws it itself. In fact, it can be minimized if the element A has a style not of display: block, but of display: inline. At the same time it will not affect the active area, but this is a bad option. It is best to make the element A on top of the entire inscription, then it will not cover anything and will look great.
outline: none; and all
I had such a problem. I just did this:
input {outline: 0 !important;} If using Bootstrap, then box-shadow may be used.
Try to put box-shadow: none;
Try to put box-shadow: none; I had such a problem. I just did that with Bootstrap.
Thank you for your interest in this issue. Since he collected a large number of low-quality and spam responses, which had to be deleted, now it’s necessary to have 10 reputation points on the site (the bonus for account association is not counted ).
Maybe you want to answer one of the unanswered questions ?
Source: https://ru.stackoverflow.com/questions/11307/
All Articles