Ancient Temple City

CSS code to remove border (outline) around text/input boxes on focus

This border is used to show that the element is focused (i.e. you can type in the input or press the button with Enter).

You can remove it, though:

textarea:focus, input:focus {
    outline: none;

Chrome will also apply highlighting to other elements such as DIV's used as modals.
To prevent the highlight on those and all other elements as well, you can do:

*:focus {
    outline: none;


Post a Comment



{facebook#} {twitter#} {google-plus#} {pinterest#} {youtube#} {instagram#}

Contact Form


Email *

Message *

Powered by Blogger.
Javascript DisablePlease Enable Javascript To See All Widget