A
A
Alexey Strukov2016-04-01 01:47:52
css
Alexey Strukov, 2016-04-01 01:47:52

How to solve the problem with Chrome and focus state?

The problem is that Chrome looks at buttons <button>or <input type=button>like input fields for example <input type=text>, which leads to the nasty result of a blue focus-ring on the element when it's clicked.
The element stays like this until we click on something to change focus.
How to overcome this browser behavior?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Andrey Khokhlov, 2016-04-01
@andrhohlov

And for :active state prescribed styles?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question