Get rid of the blue Webkit focus form field glow

The glow is really nice UI touch, so consider twice removing it. Sometimes it just doesn't fit into your design.

Luckily it’s very easy to remove.


input,
textarea,
select {
    outline: 0;
}

But then you should absolutely use an alternative method to highlight the focused form field.


input:hover,
textarea:hover,
input:focus,
textarea:focus {
    border: solid 2px blue;
}

Comments

  • Somanna says:

    That’s an innlilegett answer to a difficult question xxx

  • I’ve been looking for a post like this forever (and a day)

  • Martin,Your sarcasm is perfect. I agree.Why can’t folk be comfortable with killing something so that we can have pleasure. We have wonderful examples how sacrifice for higher order beings is justified:After all, our God (Yahweh) loved burned animal sacrifices — and then moved up to needing human sacrifice. And he allows people to go to hell to weed out those who will not willingly sing praises forever to his name in his heaven.Hell, we are all needy and selfish, let’s admit it.

  • Great article! I’m all for this. The article is certainly helpful if you ask me. Reading an individual’s article produces me happy. At the same time frame, I will be able to learn considerably more knowledge. Thanks a lot.

  • Wedding wedding rings certainly are a indicator that your pair will be tangled up in a timeless connect of being collectively. This contains a great deal of significance in a very couple’s life the way it scars the start of a partnership filled with each unconditional enjoy in addition to togetherness.

  • Like Bri I was Pulling for Kris Allen as well, After Danny Gokey and Alison Iraheta Screwed Up, I knew Kris Allen would be the one to beat Adam Lambert, I said from the Start Adam was not the one to win Idol, call me Crazy But I’m speaking the Truth.

  • mu cabelo é descolorido pinto com a koleston12.1ele é muito seco quase sem movimentosuso linha mandioca mas naõ vejo resultadoqual produto é indicado pro meu cabelo?

Club-Mate, the beverage → club-mate.fi