Quitar el border azul de los inputs en Safari

Share/Save

Es bastante fácil quitar ese border azul que aparece cuando pones el foco en un elemento de formulario en Safari, un simple outline: none en tu código CSS es todo lo que necesitas.

Mira los siguientes ejemplos y capturas de pantallas para saber como funciona:

Simple formulario con borde azul

safari-glow

<form>
  <input type="text" name="test" id="test" size="20" />
  <input type="submit" value="Submit" name="submit" />
</form>

El mismo formulario sin borde

safari-no-glow

<style media="screen">
  #test { outline: none; }
</style>

....

<form>
  <input type="text" name="test" id="test" size="20" />
  <input type="submit" value="Submit" name="submit" />
</form>
Share/Save

14 Responses to “Quitar el border azul de los inputs en Safari”

  1. Thankyou! I just wondered here through Google and this helped me out :)

  2. This is great! Thanks mate!

  3. thanx for this….

  4. Really easy… Thanks a lot mate!

  5. Although the title of this article is for Safari, I would like to point out that this doesn’t appear to work on Firefox on OS X. I wonder if there is a solution for this.

  6. Adam

    add the following to your css style sheet too:

    :focus { -moz-outline-style: none; }

    it will solve the problem in Firefox for you :)

  7. Thank you Gay Higgins for your collaboration.

  8. Thaaanks!!!

  9. Great!
    Thanks

  10. is it possible to delete the little lines in the corner of a muti text?? the lines that you click to make bigger or smaller the comments

    Thanks

  11. the comments’ box…

  12. Mil gràcies!!!

  13. great dude! thanks.

  14. thank.
    very gooooooooooooooooooooooooooooooooooood

Leave a Reply

* Required fields.