"Show label inline on a input field in Bootstrap "
Bootstrap 4.1.1 Snippet by muhittinbudak

<link href="//maxcdn.bootstrapcdn.com/bootstrap/4.1.1/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css"> <script src="//maxcdn.bootstrapcdn.com/bootstrap/4.1.1/js/bootstrap.min.js"></script> <script src="//cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script> <!------ Include the above in your HEAD tag ----------> <div class="container"> <div class="row"> <h2>Show label inline on a input field in Bootstrap</h2> <div class="container"> <form> <div class="form-group"> <div class="dates row"> <label class="col-auto" for="arrival">Year-month-day</label> <div class="col"> <input type="text" class="col form-control form-control-sm" name="arrival" id="arrival" placeholder="YYYY-MM-DD" autocomplete="off" required> </div> </div> </div> </form> </div> </div> </div>

Related: See More


Questions / Comments: