"Selected Background "
Bootstrap 3.3.0 Snippet by selvasekhar

<link href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css"> <script src="//maxcdn.bootstrapcdn.com/bootstrap/3.3.0/js/bootstrap.min.js"></script> <script src="//code.jquery.com/jquery-1.11.1.min.js"></script> <!------ Include the above in your HEAD tag ----------> <input id="mycheck1" type="checkbox" /> <label for="mycheck1">First Label</label> <br /> <input id="mycheck2" type="checkbox" checked/> <label for="mycheck2">First Label</label> <br /> <input id="mycheck3" type="checkbox" /> <label for="mycheck3">First Label</label>
input:checked + label{ background: yellow; }

Related: See More


Questions / Comments: