"events login modal"
Bootstrap 4.1.1 Snippet by TejaNethas

<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 rel="stylesheet" href="https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css"> <div class="container"> <h2>Modal login Example</h2> <button type="button" class="btn btn-primary" data-toggle="modal" data-target="#sem-login"> Open modal </button> <br/> <br/> <h2>Modal Reg Example</h2> <button type="button" class="btn btn-primary" data-toggle="modal" data-target="#sem-reg"> Open modal </button> <!-- The Modal --> <div class="modal fade seminor-login-modal" data-backdrop="static" id="sem-reg"> <div class="modal-dialog modal-dialog-centered"> <div class="modal-content"> <!-- Modal body --> <div class="modal-body seminor-login-modal-body"> <h5 class="modal-title text-center">CREATE AN ACCOUNT</h5> <button type="button" class="close" data-dismiss="modal"> <span><i class="fa fa-times-circle" aria-hidden="true"></i></span> </button> <form class="seminor-login-form"> <div class="form-group"> <input type="name" class="form-control" required autocomplete="off"> <label class="form-control-placeholder" for="name">User Name</label> </div> <div class="form-group"> <input type="email" class="form-control" required autocomplete="off"> <label class="form-control-placeholder" for="name">Email address</label> </div> <div class="form-group"> <label class="select-form-control-placeholder" for="sel1">profession</label> <select class="form-control" id="sel1" name="sellist1"> <option>Select profession</option> <option>Students</option> <option>Research Scholar</option> <option>Professor</option> <option>Others</option> </select> </div> <div class="form-group"> <input type="tel" class="form-control" required autocomplete="off"> <label class="form-control-placeholder" for="name">Phone Number</label> </div> <div class="form-group"> <input type="text" class="form-control" required autocomplete="off"> <label class="form-control-placeholder" for="name">Organization</label> </div> <div class="form-group"> <input type="text" class="form-control" required autocomplete="off"> <label class="form-control-placeholder" for="name">Designation</label> </div> <div class="form-group"> <input type="text" class="form-control" required autocomplete="off"> <label class="form-control-placeholder" for="name">City</label> </div> <div class="form-group"> <input type="password" class="form-control" required autocomplete="off"> <label class="form-control-placeholder" for="password">Password</label> </div> <div class="form-group"> <input type="password" class="form-control" required autocomplete="off"> <label class="form-control-placeholder" for="password">Confirm Password</label> </div> <div class="form-group forgot-pass-fau text-center "> <a href="/terms-conditions/" class="text-secondary"> By Clicking "SIGN UP" you accept our<br> <span class="text-primary-fau">Terms and Conditions</span> </a> </div> <div class="btn-check-log"> <button type="submit" class="btn-check-login">SIGN UP</button> </div> <div class="create-new-fau text-center pt-3"> <a href="#" class="text-primary-fau"><span data-toggle="modal" data-target="#sem-login" data-dismiss="modal">Already Have An Account</span></a> </div> </form> </div> </div> </div> </div> <!-- The Modal --> <div class="modal fade seminor-login-modal" data-backdrop="static" id="sem-login"> <div class="modal-dialog modal-dialog-centered"> <div class="modal-content"> <!-- Modal body --> <div class="modal-body seminor-login-modal-body"> <h5 class="modal-title text-center">LOGIN TO MY ACCOUNT</h5> <button type="button" class="close" data-dismiss="modal"> <span><i class="fa fa-times-circle" aria-hidden="true"></i></span> </button> <form class="seminor-login-form"> <div class="form-group"> <input type="email" class="form-control" required autocomplete="off"> <label class="form-control-placeholder" for="name">Email address</label> </div> <div class="form-group"> <input type="password" class="form-control" required autocomplete="off"> <label class="form-control-placeholder" for="password">Password</label> </div> <div class="form-group"> <label class="container-checkbox"> Remember Me On This Computer <input type="checkbox" checked="checked" required> <span class="checkmark-box"></span> </label> </div> <div class="btn-check-log"> <button type="submit" class="btn-check-login">LOGIN</button> </div> <div class="forgot-pass-fau text-center pt-3"> <a href="/reset_pass" class="text-secondary">Forgot Your Password?</a> </div> <div class="create-new-fau text-center pt-3"> <a href="#" class="text-primary-fau"><span data-toggle="modal" data-target="#sem-reg" data-dismiss="modal">Create A New Account</span></a> </div> </form> </div> </div> </div> </div> </div>
.seminor-login-modal-body .close{ position: relative; top: -45px; left: 10px; color: #1cd8ad; } .seminor-login-modal-body .close{ opacity:0.75; } .seminor-login-modal-body .close:focus, .seminor-login-modal-body .close:hover { color: #39e8b0; opacity: 1; text-decoration: none; outline:0; } .seminor-login-modal .modal-dialog .modal-content{ border-radius:0px; } /* form animation */ .seminor-login-form .form-group { position: relative; margin-bottom: 1.5em !important; } .seminor-login-form .form-control{ border: 0px solid #ced4da !important; border-bottom:1px solid #adadad !important; border-radius:0 !important; } .seminor-login-form .form-control:focus, .seminor-login-form .form-control:active{ outline:none !important; outline-width: 0; border-color: #adadad !important; box-shadow: 0 0 0 0.2rem transparent; } *:focus { outline: none; } .seminor-login-form{ padding: 2em 0 0; } .form-control-placeholder { position: absolute; top: 0; padding: 7px 0 0 13px; transition: all 200ms; opacity: 0.5; border-top: 0px; border-left: 0; border-right: 0; } .form-control:focus + .form-control-placeholder, .form-control:valid + .form-control-placeholder { font-size: 75%; -webkit-transform: translate3d(0, -100%, 0); transform: translate3d(0, -100%, 0); opacity: 1; } .container-checkbox input { position: absolute; opacity: 0; cursor: pointer; } .checkmark-box { position: absolute; top: -5px; left: 0; height: 25px; width: 25px; background-color: #adadad; } .container-checkbox { display: block; position: relative; padding-left: 40px; margin-bottom: 20px; cursor: pointer; font-size: 14px; font-weight: bold; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; line-height: 1.1; } .container-checkbox input:checked ~ .checkmark-box:after { color: #fff; } .container-checkbox input:checked ~ .checkmark-box:after { display: block; } .container-checkbox .checkmark-box:after { left: 10px; top: 4px; width: 7px; height: 15px; border: solid white; border-width: 0 3px 3px 0; -webkit-transform: rotate(45deg); -ms-transform: rotate(45deg); transform: rotate(45deg); } .checkmark:after, .checkmark-box:after { content: ""; position: absolute; display: none; } .container-checkbox input:checked ~ .checkmark-box { background-color: #f58220; border: 0px solid transparent; } .btn-check-log .btn-check-login { font-size: 16px; padding: 10px 0; } button.btn-check-login:hover { color: #fff; background-color: #f58220; border: 2px solid #f58220; } .btn-check-login { color: #f58220; background-color: transparent; border: 2px solid #f58220; transition: all ease-in-out .3s; } .btn-check-login { display: inline-block; padding: 12px 0; margin-bottom: 0; line-height: 1.42857143; text-align: center; white-space: nowrap; vertical-align: middle; -ms-touch-action: manipulation; touch-action: manipulation; cursor: pointer; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; background-image: none; border-radius: 0; width: 100%; } .forgot-pass-fau a { text-decoration: none !important; font-size: 14px; } .text-primary-fau { color: #1959a2; } .select-form-control-placeholder{ font-size: 100%; padding: 7px 0 0 13px; margin: 0; }

Related: See More


Questions / Comments: