"Clean Modal Login Form"
Bootstrap 3.3.0 Snippet by Anascodestudio

<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 ----------> <br><br> <div style="text-align: center; width: 100%; margin-top: 10px; font-weight: bold; font-size: 20px; "> <a href="#" data-toggle="modal" data-target="#login-modal">Login</a> </div> <div class="modal fade" id="login-modal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true" style="display: none;"> <div class="modal-dialog"> <div class="loginmodal-container"> <form> <div class="my-arrow-shell"> <div class="my-modal-container"> <div class="my-inner"> <h4> Are you sure you want to unlink this account from Magnitude Marketplace? <br><br> SalesForce: joe@me.com </h4> <input type="text" name="user" placeholder="Username"> <input type="password" name="pass" placeholder="Password"> <div class="login-help"> <a href="#">Register</a> - <a href="#">Forgot Password</a> </div> </div> </div> </div> <div class="row"> <div class="col-md-3"> </div> <div class="col-md-3"><input type="submit" name="login" class="login loginmodal-submit" value="Yes"></div> <div class="col-md-3"><input type="submit" name="login" class="login loginmodal-submit" value="No"></div> <div class="col-md-3"> </div> </div> </form> </div> </div> </div>
body{background-color:#fff;} h4{text-align:center; padding: 20px;} .my-modal-container { border: 20px #ccc solid; box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.3);} .my-inner{ border:1px solid #888; padding: 20px; background-color:white; height: 100%;} .row { margin-top: 20px; } .my-arrow-shell:after { content:''; width: 0; height: 0; position: relative; left: 50%; top: 28px; margin-left:-30px; border-top: solid 30px #ccc; border-left: solid 30px transparent; border-right: solid 30px transparent; } /****** LOGIN MODAL ******/ .loginmodal-container { padding: 0px; max-width: 450px; width: 100% !important; background-color: transparent; margin: 0 auto; border-radius: 2px; overflow: hidden; font-family: roboto;} .loginmodal-container h1 { text-align: center; font-size: 1.8em; font-family: roboto;} .loginmodal-container input[type=submit] { width: 100%; display: block; margin-bottom: 10px; position: relative;} .loginmodal-container input[type=text], input[type=password] { height: 44px; font-size: 16px; width: 100%; margin-bottom: 10px; -webkit-appearance: none; background: #fff; border: 1px solid #d9d9d9; border-top: 1px solid #c0c0c0; /* border-radius: 2px; */ padding: 0 8px; box-sizing: border-box; -moz-box-sizing: border-box;} .loginmodal-container input[type=text]:hover, input[type=password]:hover { border: 1px solid #b9b9b9; border-top: 1px solid #a0a0a0; -moz-box-shadow: inset 0 1px 2px rgba(0,0,0,0.1); -webkit-box-shadow: inset 0 1px 2px rgba(0,0,0,0.1); box-shadow: inset 0 1px 2px rgba(0,0,0,0.1);} .loginmodal { text-align: center; font-size: 14px; font-family: 'Arial', sans-serif; font-weight: 700; height: 36px; padding: 0 8px;/* border-radius: 3px; */ /* -webkit-user-select: none; user-select: none; */ } .loginmodal-submit { /* border: 1px solid #3079ed; */ border: solid 1px #fff; color: #fff; text-shadow: 0 1px rgba(0,0,0,0.1); background-color: #384967; padding: 4px 10px; font-family: roboto; font-size: 14px; /* background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#4d90fe), to(#4787ed)); */ } .loginmodal-submit:hover { /* border: 1px solid #2f5bb7; */ border: 0px; text-shadow: 0 1px rgba(0,0,0,0.3); background-color: #357ae8; /* background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#4d90fe), to(#357ae8)); */ } .loginmodal-container a { text-decoration: none; color: #666; font-weight: 400; text-align: center; display: inline-block; opacity: 0.6; transition: opacity ease 0.5s;} .login-help{ font-size: 12px;} .modal-backdrop.in { opacity: 0.7; }

Related: See More


Questions / Comments: