mattsterp
5/21/2017 - 1:34 PM

Remove border around the inputs (Chrome, Safari)

Remove border around the inputs (Chrome, Safari)

/*
* === Remove border around the inputs (Chrome, Safari) ===
*/

/*
* — When an input element set to focus in WebKit browsers like Safari and Chrome, the browser will put a blue/yellow/red border around it.
This could be confusing and could make your design look different. To disable this you can use the following css. —
*/

/* remove border around all input elements */
input:focus {
    outline: none;
}

/* remove border around all textarea elements */
textarea:focus {
    outline: none;
}

/* remove border around all select elements */
select:focus {
    outline: none;
}

/* remove border around all input,textarea and select elements */
input:focus, textarea:focus, select:focus {
    outline: none;
}

/* remove border around all elements */
:focus {
    outline: none;
}