Home  »  CodeLibrariesProgrammingSnippetsTechnologyTools   »   CSS Remove Border Input Focus

CSS Remove Border Input Focus

Posted: March 15, 2022 | by Site Host

Code in CSS to remove border input focus.

Syntax:

element { outline: none; }

Example:

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

CSS hide input border on focus.

input:focus {
    border: none;
}

Found this article interesting? Follow Brightwhiz on Facebook, Twitter, and YouTube to read and watch more content we post.

Share it!

See also  How to Make Text Unselectable in CSS