Home  »  CodeLibrariesProgrammingSnippetsTechnologyTools   »   CSS Remove Border Input Focus

CSS Remove Border Input Focus

Posted: March 15, 2022 | by Michael Bright

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.