textarea:focus, input:focus{
outline: none;
}
.from_Input{
border: none;
outline:none;
}
.from_Input:active{
border: none;
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 :: css break after 2 words |
Css :: attribute selectors css |
Css :: make the first item at the very top of the screen |
Css :: how to remove margins css |
Css :: blue gradient background |
Css :: width |
Css :: center text in height css |
Css :: how to add dotted line after and before text in css |
Css :: color td first row css |
Css :: css inset |
Css :: font shorthand |
Css :: css grid auto row |
Css :: block elements css |
Css :: parent hover and child hover at the same time |
Css :: smooth button effect css |
Css :: cypress element css |
Css :: css responsive image |
Css :: wave css |
Css :: twig inline css |
Css :: style input field css |
Css :: neomorphic box |
Css :: device-pixel-ratio css |
Css :: sass installation |
Css :: when change size image not change contrast css |
Css :: id ends with css |
Css :: remove black shadow from border css |
Css :: css line-through with words |
Css :: rgba colors |
Css :: what is universal selector |
Css :: display none opposite |