Hello!
There are several input elements. The task for: hover and: focus is to give them the same styles. I suffer for several hours, all to no avail. If one input is in focus, and at the same time we point to another input, then their styles are different, namely, the outline of: hover is more than that of: focus. What is the reason and how to solve this problem. Here is a picture of the problem: and here is the sample code:
input { display: block; margin: 5px; border: 1px solid silver; outline: none; } input:hover, input:focus { border-color: grey; outline: 2px solid blue; }
<input type="text" /> <input type="text" /> <input type="text" />
It is also necessary that their styles be absolutely identical.