By clicking inside the input field or focus on the input field, how to change the border color.
HTML
<div className="col-md-12">
<div className="form-group">
<label for="Street_Address">Street address</label>
<input type="text" className="form-control" id="Street_Address" placeholder="" />
</div>
</div>
CSS
input:focus
{
border: 1px solid #1670BE;
box-shadow: 0 0 3px #1670BE;
outline-offset: 0px;
outline: none;
}
Try this:
When the element is focussed, the User Agent (browser) by default sets an outline. So, to prevent it, you need to override it as shown above