remove blue border input focus css code example

Example 1: css remove border input focus

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

Example 2: remove blue border on a input

input:focus {
    outline: none !important;
}

Example 3: change border highlight color on an input text element

input:focus { 
    outline: none !important;
    border-color: #719ECE;
    box-shadow: 0 0 10px #719ECE;
}
textarea:focus { 
    outline: none !important;
    border-color: #719ECE;
    box-shadow: 0 0 10px #719ECE;
}

Example 4: change border highlight color on an input text element

.input:focus {
    outline: none !important;
    border:1px solid red;
    box-shadow: 0 0 10px #719ECE;
}

Tags:

Css Example