"Untitled"
Bootstrap 4.1.1 Snippet by iammohitverma

<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 ----------> <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="//cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script> <!------ Include the above in your HEAD tag ----------> <!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> <meta name="description" content=""> <meta name="author" content=""> <title>INDEX</title> <link href="css/bootstrap.min.css" rel="stylesheet" media="all" type="text/css"> <link href="css/my-style.css" rel="stylesheet" media="all" type="text/css"> <link href="css/my-responsive.css" rel="stylesheet" media="all" type="text/css"> </head> <body> <div class="container"> <div class="row"> <div class="col-md-12"> <div class="wizard"> <div class="wizard-inner"> <div class="connecting-line"></div> <ul class="nav nav-tabs" role="tablist"> <li role="presentation" class="active"> <a href="#step1" data-toggle="tab" aria-controls="step1" role="tab" title="Step 1"> <span class="round-tab"> 1 </span> </a> <span class="title" style=""> Service </span> </li> <li role="presentation" class="disabled"> <a href="#step2" data-toggle="tab" aria-controls="step2" role="tab" title="Step 2"> <span class="round-tab"> 2 </span> </a> <span class="title" style=""> Appointment </span> </li> <li role="presentation" class="disabled"> <a href="#step3" data-toggle="tab" aria-controls="step3" role="tab" title="Step 3"> <span class="round-tab"> 3 </span> </a> <span class="title" style=""> Make Payment </span> </li> <li role="presentation" class="disabled"> <a href="#complete" data-toggle="tab" aria-controls="complete" role="tab" title="Complete"> <span class="round-tab"> 4 </span> </a> <span class="title" style=""> Complete </span> </li> </ul> </div> <form role="form"> <div class="tab-content"> <div class="tab-pane active" role="tabpanel" id="step1"> <h3><b>Select Service</b></h3> <div class="service_selector"> <ul class="list-group my-ul-1"> <li class="list-group-item"><a href="#" class="service_title next-step">Lorem Ipsum has been the industry's standard dummy text</a> <span class="badge next-step"><a href="#">$270 <i class="fas fa-caret-right"></i></a></span></li> <li class="list-group-item"><a href="#" class="service_title next-step">Lorem Ipsum has been the industry's standard dummy text</a> <span class="badge next-step"><a href="#">$75 <i class="fas fa-caret-right"></i></a></span></li> <li class="list-group-item"><a href="#" class="service_title next-step">Lorem Ipsum has been the industry's standard dummy text</a> <span class="badge next-step"><a href="#">$400 <i class="fas fa-caret-right"></i></a></span></li> <li class="list-group-item"><a href="#" class="service_title next-step">Lorem Ipsum has been the industry's standard dummy text</a> <span class="badge next-step"><a href="#">$150 <i class="fas fa-caret-right"></i></a></span></li> <li class="list-group-item"><a href="#" class="service_title next-step">Lorem Ipsum has been the industry's standard dummy text</a> <span class="badge next-step"><a href="#">$100 <i class="fas fa-caret-right"></i></a></span></li> </ul> </div> <p class="red">*select any service to move forward.</p> <div class="clearfix"></div> </div> <div class="tab-pane" role="tabpanel" id="step2"> <h3>You have selected <b>"Lorem Impsum Dummy Text"</b></h3> <div class="date_select"> <ul class="list-group my-ul-2"> <div class="appoint_date"> <li class="list-group-item" data-toggle="collapse" data-target="#demo1">Checkup Day 1 <span class="date_data pull-right">+</span></li> <div id="demo1" class="collapse in"> <div class="date-selector"> <span class="date-titilee">Select date for view the available appointments</span> <input type='date' id='txtDate' /> </div> <div class="avail-appoint"> <button type="button" class="btn btn-default">08:00 AM to 09:30 AM</button> <button type="button" class="btn btn-default">09:30 AM to 11:00 AM</button> <button type="button" class="btn btn-default">11:00 AM to 12:30 PM</button> <button type="button" class="btn btn-default">12:30 PM to 02:00 PM</button> <button type="button" class="btn btn-default">02:00 PM to 03:30 PM</button> <button type="button" class="btn btn-default">03:30 PM to 05:00 PM</button> </div> </div> </div> <div class="appoint_date"> <li class="list-group-item" data-toggle="collapse" data-target="#demo2">Checkup Day 1 <span class="date_data pull-right">+</span></li> <div id="demo2" class="collapse"> <div class="date-selector"> <span class="date-titilee">Select date for view the available appointments</span> <input type='date' id='txtDate' /> </div> <div class="avail-appoint"> <button type="button" class="btn btn-default">08:00 AM to 09:30 AM</button> <button type="button" class="btn btn-default">09:30 AM to 11:00 AM</button> <button type="button" class="btn btn-default">11:00 AM to 12:30 PM</button> <button type="button" class="btn btn-default">12:30 PM to 02:00 PM</button> <button type="button" class="btn btn-default">02:00 PM to 03:30 PM</button> <button type="button" class="btn btn-default">03:30 PM to 05:00 PM</button> </div> </div> </div> <div class="appoint_date"> <li class="list-group-item" data-toggle="collapse" data-target="#demo3">Checkup Day 1 <span class="date_data pull-right">+</span></li> <div id="demo3" class="collapse"> <div class="date-selector"> <span class="date-titilee">Select date for view the available appointments</span> <input type='date' id='txtDate' /> </div> <div class="avail-appoint"> <button type="button" class="btn btn-default">08:00 AM to 09:30 AM</button> <button type="button" class="btn btn-default">09:30 AM to 11:00 AM</button> <button type="button" class="btn btn-default">11:00 AM to 12:30 PM</button> <button type="button" class="btn btn-default">12:30 PM to 02:00 PM</button> <button type="button" class="btn btn-default">02:00 PM to 03:30 PM</button> <button type="button" class="btn btn-default">03:30 PM to 05:00 PM</button> </div> </div> </div> </ul> </div> <ul class="list-inline pull-right"> <li><button type="button" class="btn btn-default prev-step">Previous</button></li> <li><button type="button" class="btn btn-primary next-step">Save and continue</button></li> </ul> <div class="clearfix"></div> </div> <div class="tab-pane" role="tabpanel" id="step3"> <h3>Your Appointment Schedule</h3> <div class="detail_service"> <div class="media"> <div class="media-left"> <i class="fas fa-check"></i> </div> <div class="media-body"> <p><strong>Lorem Ipsum has been</strong> on <b>28-05-2018</b> at <b>08:00AM to 09:30AM</b></p> </div> </div> <div class="media"> <div class="media-left"> <i class="fas fa-check"></i> </div> <div class="media-body"> <p><strong>Lorem Ipsum has been</strong> on <b>28-05-2018</b> at <b>08:00AM to 09:30AM</b></p> </div> </div> <div class="media"> <div class="media-left"> <i class="fas fa-check"></i> </div> <div class="media-body"> <p><strong>Lorem Ipsum has been</strong> on <b>28-05-2018</b> at <b>08:00AM to 09:30AM</b></p> </div> </div> <div class="media"> <div class="media-left"> <i class="fas fa-check"></i> </div> <div class="media-body"> <p><strong>Lorem Ipsum has been</strong> on <b>28-05-2018</b> at <b>08:00AM to 09:30AM</b></p> </div> </div> </div> <div class="user_detail"> <form> <div class="form-row"> <div class="col-md-6"> <div class="form-group"> <label for="fname">First Name<sup>*</sup></label> <input type="text" class="form-control" id="fname"> </div> </div> <div class="col-md-6"> <div class="form-group"> <label for="lname">Last Name<sup>*</sup></label> <input type="text" class="form-control" id="lname"> </div> </div> </div> <div class="form-row"> <div class="col-md-6"> <div class="form-group"> <label for="email">Email<sup>*</sup></label> <input type="email" class="form-control" id="email"> </div> </div> <div class="col-md-6"> <div class="form-group"> <label for="cemail">Confirm Email<sup>*</sup></label> <input type="email" class="form-control" id="cemail"> </div> </div> </div> <div class="form-row"> <div class="col-md-6"> <div class="form-group"> <label for="number">Phone<sup>*</sup></label> <input type="text" class="form-control" id="number"> </div> </div> <div class="col-md-6"> <div class="form-group"> <label for="number">Confirm Phone<sup>*</sup></label> <input type="text" class="form-control" id="number"> </div> </div> </div> </form> </div> <ul class="list-inline pull-right my-ul"> <li><button type="button" class="btn btn-default prev-step">Previous</button></li> <li><button type="button" class="btn btn-primary btn-info-full next-step">Save and continue</button></li> </ul> <div class="clearfix"></div> </div> <div class="tab-pane" role="tabpanel" id="complete"> <h3><i class="fas fa-check-circle"></i> Thankyou</h3> </div> </div> </form> </div> </div> </div> </div> <script src="js/jquery-3.2.1.min.js" ></script> <script src="js/bootstrap.min.js" ></script> <script src="js/custom.js" ></script> <script src="js/fontawesome-all.js" ></script> </body> </html>
/*CUSTOM STYLE CSS*/ .wizard { margin: 20px auto; background: #fff; } .wizard .nav-tabs { position: relative; margin: 40px auto; margin-bottom: 0; border-bottom-color: #e0e0e0; border: 0; } .wizard > div.wizard-inner { position: relative; } .wizard form .tab-content > .active { border: 2px solid #5bc0de; } .connecting-line { height: 2px; background: #e0e0e0; position: absolute; width: 80%; margin: 0 auto; left: 0; right: 0; top: 50%; z-index: 1; } .wizard .nav-tabs > li.active > a, .wizard .nav-tabs > li.active > a:hover, .wizard .nav-tabs > li.active > a:focus { color: #555555; cursor: default; border: 0; border-bottom-color: transparent; } .wizard form .tab-content .tab-pane .my-ul { margin: 0; } span.round-tab { width: 70px; height: 70px; line-height: 70px; display: inline-block; border-radius: 100px; background: #fff; border: 2px solid #e0e0e0; z-index: 2; position: absolute; left: 0; text-align: center; font-size: 25px; } span.round-tab i{ color:#555555; } .wizard li.active span.round-tab { background: #fff; border: 2px solid #5bc0de; } .wizard li.active span.round-tab i{ color: #5bc0de; } span.round-tab:hover { color: #333; border: 2px solid #333; } .wizard .nav-tabs > li { width: 25%; text-align: center; } .wizard li:after { content: " "; position: absolute; left: 46%; opacity: 0; margin: 0 auto; bottom: 0px; border: 5px solid transparent; border-bottom-color: #5bc0de; transition: 0.1s ease-in-out; } .wizard .nav-tabs > li > span.title { font-size: 18px; color: #ddd; } .wizard .nav-tabs > li.active > span.title { color: #000; } .wizard li.active:after { content: " "; position: absolute; left: 46%; opacity: 1; margin: 0 auto; bottom: -9px; border: 10px solid transparent; border-bottom-color: #5bc0de; } .wizard form { margin: 10px 0; } .wizard .nav-tabs > li a { width: 70px; height: 70px; margin: 20px auto 0; border-radius: 100%; padding: 0; } .wizard .nav-tabs > li a:hover { background: transparent; } .wizard .tab-pane { position: relative; padding: 30px 30px 15px; } .wizard h3 { margin-top: 0; } .service_selector ul .list-group-item > .badge a { font-size: 16px; color: #fff; text-decoration: none; } .service_selector ul .list-group-item .service_title { margin: 0 5px 0 0; text-decoration: none; font-size: 16px; font-weight: 700; color: #000000b3; line-height: 40px; } .date_select .my-ul-2 .list-group-item .date_data { color: #337ab7; width: 15px; height: 20px; font-size: 20px; line-height: 25px; cursor: pointer; } .service_selector .my-ul-1 .list-group-item { box-shadow: 0px 0px 5px rgba(0,0,0,0.2); margin: 0 0 10px 0; display: inline-block; width: 100%; } .service_selector .my-ul-1 .list-group-item .fa-angle-down { top: 15px; position: absolute; cursor: pointer; } .service_selector .my-ul-1 .list-group-item .here_click { margin: 0 10px 0 0; } .service_selector ul .list-group-item > .badge { background-color: #f163c6; padding: 12px 30px; border-radius: 0; width: 100px; } .red { color:red; } .date_select .my-ul-2 .list-group-item { font-size: 16px; font-weight: 600; margin: 0 0 6px 0; } .wizard form .tab-content > .active h3 { text-align: center; } .date_select .my-ul-2 .appoint_date #demo1, .date_select .my-ul-2 .appoint_date #demo2, .date_select .my-ul-2 .appoint_date #demo3 { padding: 0 16px; } .date_select .my-ul-2 .appoint_date .date-selector { margin: 0 0 10px 0; display: flex; justify-content: space-between; } .date_select .my-ul-2 .appoint_date .date-selector .date-titilee { font-size: 16px; font-weight: 600; } .date_select .my-ul-2 .appoint_date .avail-appoint { margin: 0 0 10px; } .selectedbtn { background-color:red; } .user_detail form .form-group label sup { color: red; font-size: 18px; vertical-align: text-bottom; } .detail_service { margin: 0 0 30px 0; border-bottom: 1px solid #ddd; } .detail_service .media .media-body p { font-size: 16px; } @media( max-width : 585px ) { .wizard { width: 90%; height: auto !important; } span.round-tab { font-size: 16px; width: 50px; height: 50px; line-height: 50px; } .wizard .nav-tabs > li a { width: 50px; height: 50px; line-height: 50px; } .wizard li.active:after { content: " "; position: absolute; left: 35%; } }
$(document).ready(function () { //Initialize tooltips $('.nav-tabs > li a[title]').tooltip(); //Wizard $('a[data-toggle="tab"]').on('show.bs.tab', function (e) { var $target = $(e.target); if ($target.parent().hasClass('disabled')) { return false; } }); $(".next-step").click(function (e) { var $active = $('.wizard .nav-tabs li.active'); $active.next().removeClass('disabled'); nextTab($active); }); $(".prev-step").click(function (e) { var $active = $('.wizard .nav-tabs li.active'); prevTab($active); }); function nextTab(elem) { $(elem).next().find('a[data-toggle="tab"]').click(); } function prevTab(elem) { $(elem).prev().find('a[data-toggle="tab"]').click(); } $(".avail-appoint button").click(function(){ (this).addClass("selectedbtn"); }); });

Related: See More


Questions / Comments: