Form button color


#1

Hi there,

How can I change the color of the border when I click on my form input fields + button? (It turns blue at the moment.)
Please see here: http://movemankind.com/

Thank you!


#2

Hi,

That’s the focus color. You can change it like this, but note that it’s there for accessibility reasons:


:focus {
    outline-color: #333;
}


#3

Thank you, Vlad. By “accessibility reasons”, do you mean that, for example, I shouldn’t it transparent?


#4

The point is that visually impaired people will know that they’re on the input field, so transparent isn’t really the best option. But it’s great how you have it now, that color is looking nice while keeping the field accessible.


#5

I see. Great, thank you for your advice Vlad!