0

Is there any way to change/force checkbox glow color on focus?

$(function() {
  $('input[type!=hidden]:first').focus();
});
<link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet"/>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
<input type="checkbox">

1 Answers1

1

Redefine the css :focus property of checkbox:

  
input[type="checkbox"]:focus {
  outline-color: green;
}
<input type="checkbox">
alvaropanizo
  • 177
  • 5