"indicating required fields bootstrap"
Bootstrap 3.3.0 Snippet by Lasly

<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 ----------> <link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css"> <div class="container"> <div class="row"> <br/> <form> <div class="input-group"> <span class="input-group-addon"><i class="fa fa-envelope fa-10x"></i></span> <input type="email" class="form-control" id="exampleInputEmail1" placeholder="Email" required="required"> </div> <br/> <div class="input-group"> <span class="input-group-addon"><i class="fa fa-key fa-10x"></i></span> <input type="password" class="form-control" id="exampleInputPassword1" placeholder="Password" required="required"> </div> <br/> <button type="submit" class="btn btn-default">Submit</button> </form> </div> </div>
:required { background: url(https://cdn0.iconfinder.com/data/icons/fugue/icon/asterisk-small.png) no-repeat; background-position:right top; }

Related: See More


Questions / Comments: