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.
+3
Todd mark
source
to share
1 answer
Just use this;
input:focus{
outline: 0;
}
Or remove from all elements
*:focus {
outline: 0;
}
+5
Aamir shahzad
source
to share