If you manage :focus CSS styles for certain input controls you may have noticed that Safari attempts against your pretty innovative design adding a blurry blue outline effect.

You can avoid this adding this:

input:focus {
  outline-width:0;
  ...
}

And that’s all.


4 Comments on “How to annul Safari’s outline effect in input fields (and friends)”

You can track this conversation through its atom feed.

  1. notebook adaptör says:

    If you manage :focus CSS styles for certain input controls you may have noticed that Safari attempts against your pretty innovative design adding a blurry blue outline effect.

Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>