textarea:focus, input:focus{
outline: none;
}
input:focus {
outline: none;
box-shadow: none!important;
/*Sometime the blue border you see is from the box-shadow and removing box-shadow will remove the border*/
}
*:focus {
outline: none;
}
input:focus{
border: none;
}
.yourInput:focus {
outline: none;
}
.bootstrap-select .form-control:focus {
outline: 0px none #fff !important;
}
.bootstrap-select .form-control > div.filter-option:focus {
outline: 0px none #fff !important;
}
.bootstrap-select .form-control > div.filter-option > div.filter-option-inner:focus {
outline: 0px none #fff !important;
}
.bootstrap-select .form-control > div.filter-option > div.filter-option-inner > div.filter-option-inner-inner:focus {
outline: 0px none #fff !important;
}
// Use focus() && blur() to add or remove focus.
import { useRef } from "react"
const inputRef = useRef()
// To remove focus: inputRef.current.blur()
// To focus: inputRef.current.focus()
<input ref='inputRef' {...value} />
Code Example |
---|
Css :: how to use between in media query |
Css :: repeat autofill css grid minmax |
Css :: 100vh - 100px |
Css :: customize scrollbar |
Css :: stop selection css |
Css :: not disabled css |
Css :: how to center a div in css |
Css :: responsive image in css |
Css :: z-index max value |
Css :: input type search remove x |
Css :: align element at right |
Css :: how to remove link blue color from a tag using css |
Css :: a open new tab css |
Css :: ajouter une image dans un before after |
Css :: border: 1px solid black; |
Css :: how to cover full image in css |
Css :: how to remove the line below the link text css |
Css :: css cursor pointer hover |
Css :: css image filter black and white |
Css :: justify text csss |
Css :: remove border select css |
Css :: css div side rounded |
Css :: width 100% with padding |
Css :: tailwind backdrop |
Css :: boostrap pointer |
Css :: border dot css |
Css :: css safari remove scrollbar |
Css :: table td remove padding |
Css :: roboto |
Css :: slickjs height |