How do I remove the light color on the input to be selected in Chrome?

If you are using Chrome browser, click Run Code Snippet and you will see that there is a blue color in the input, I want to remove it.
I've tried border:none

both :active

and other pseudo class. But it didn't work.
By the way, in FF. There is no light color.

    <input type="text">

Run codeHide result


source to share

1 answer

Just use this;

        outline: 0;


Or remove from all elements

*:focus {
    outline: 0;




All Articles