"Timely Login slider"
Bootstrap 4.0.0 Snippet by testing223

<link href="//maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css"> <script src="//maxcdn.bootstrapcdn.com/bootstrap/4.0.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 ----------> <div class="container"> <div class="col-md-12"> <div class="card"> <div class="card-body"> <div class="row"> <div class="col-md-4"> <h3>Please Log In, or <a href="#">Sign Up</a></h3> <div class="row"> <div class="col-xs-6 col-sm-6 col-md-6"> <a href="#" class="btn btn-lg btn-primary btn-block">Facebook</a> </div> <div class="col-xs-6 col-sm-6 col-md-6"> <a href="#" class="btn btn-lg btn-info btn-block">Google</a> </div> </div> <div class="login-or"> <hr class="hr-or"> <span class="span-or">or</span> </div> <form role="form"> <div class="form-group"> <label for="inputUsernameEmail">Username or email</label> <input type="text" class="form-control" id="inputUsernameEmail"> </div> <div class="form-group"> <a class="pull-right" href="#">Forgot password?</a> <label for="inputPassword">Password</label> <input type="password" class="form-control" id="inputPassword"> </div> <div class="checkbox pull-right"> <label> <input type="checkbox"> Remember me </label> </div> <button type="submit" class="btn btn btn-primary"> Log In </button> </form> </div> <div class="col-md-8"> <div id="carouselExampleSlidesOnly" class="carousel slide" data-ride="carousel"> <div class="carousel-inner"> <div class="carousel-item active"> <img class="d-block w-100" src="http://placehold.it/800x400/444444/FFFFFF&text=First Slide" alt="First slide"> <div class="carousel-caption d-none d-md-block"> <h3>Subtext</h3> </div></div> <div class="carousel-item"> <img class="d-block w-100" src="http://placehold.it/800x400/444444/FFFFFF&text=Second Slide" alt="Second slide"> </div> <div class="carousel-caption d-none d-md-block"> <h3>Subtext</h3> </div><div class="carousel-item"> <img class="d-block w-100" src="http://placehold.it/800x400/444444/FFFFFF&text=Third Slide" alt="Third slide"> <div class="carousel-caption d-none d-md-block"> <h3>Subtext</h3> </div></div> </div> </div> </div> </div> </div> </div> </div> </div> <footer></footer>
body { padding-top: 15px; font-size: 12px margin-bottom: 15px; background-color: grey; } .main { max-width: 320px; margin: 0 auto; } .login-or { position: relative; font-size: 18px; color: #aaa; margin-top: 10px; margin-bottom: 10px; padding-top: 10px; padding-bottom: 10px; } .span-or { display: block; position: absolute; left: 50%; top: -2px; margin-left: -25px; background-color: #fff; width: 50px; text-align: center; } .hr-or { background-color: #cdcdcd; height: 1px; margin-top: 0px !important; margin-bottom: 0px !important; } h3 { text-align: center; line-height: 300%; } footer{ margin: 15px; }

Related: See More


Questions / Comments: