"Login With 02 Social Buttons (Bootstrap 4 Version)"
Bootstrap 4.0.0 Snippet by xrozix

<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="kpx_login"> <h3 class="kpx_authTitle">Login or <a href="#">Sign up</a></h3> <div class="row kpx_row-sm-offset-3 kpx_socialButtons"> <div class="col-xs-3 col-sm-3"> <a href="#" class="btn btn-lg btn-block kpx_btn-facebook" data-toggle="tooltip" data-placement="top" title="Facebook"> <i class="fa fa-facebook fa-2x"></i> <span class="hidden-xs"></span> </a> </div> <div class="col-xs-3 col-sm-3"> <a href="#" class="btn btn-lg btn-block kpx_btn-twitter" data-toggle="tooltip" data-placement="top" title="Twitter"> <i class="fa fa-twitter fa-2x"></i> <span class="hidden-xs"></span> </a> </div> </div> </div> <div class="row kpx_row-sm-offset-3 kpx_loginOr"> <div class="col-xs-12 col-sm-6"> <hr class="kpx_hrOr"> <span class="kpx_spanOr">or</span> </div> </div> <div class="row kpx_row-sm-offset-3"> <div class="col-xs-12 col-sm-6"> <form class="kpx_loginForm" action="" autocomplete="off" method="POST"> <div class="input-group"> <span class="input-group-addon"><span class="fa fa-user"></span></span> <input type="text" class="form-control" name="username" placeholder="Username"> </div> <hr /> <div class="input-group"> <span class="input-group-addon"><span class="fa fa-key"></span></span> <input type="password" class="form-control" name="password" placeholder="Password"> </div> <span class="tag tag-danger">Password Error!</span> | <span class="tag tag-success">Login success!</span> | <span class="tag tag-warning">Some of password must not be empty!</span> <hr /> <button class="btn btn-lg btn-outline-primary btn-block" type="submit"><i class="fa fa-sign-in"></i> Login</button> </form> </div> </div> <div class="row kpx_row-sm-offset-3"> <div class="col-xs-12 col-sm-3"> <label class="custom-control custom-checkbox"> <input type="checkbox" class="custom-control-input" value="remember-me"> <span class="custom-control-indicator"></span> <span class="custom-control-description">Remember me!</span> </label> </div> <div class="col-xs-12 col-sm-3 "> <p class="kpx_forgotPwd pull-sm-right"> <a href="#">Forgot password?</a> </p> </div> </div> </div> <script> $(function () { $('[data-toggle="tooltip"]').tooltip() }) </script>
/* @hiercelik - hiercelik.net @koalapix - koalapix.com */ @import url(//maxcdn.bootstrapcdn.com/font-awesome/4.6.3/css/font-awesome.min.css); @import url(http://fonts.googleapis.com/css?family=Titillium+Web&subset=latin,latin-ext); @media (min-width: 768px) { .kpx_row-sm-offset-3 div:first-child[class*="col-"] { margin-left: 25%; } } body { font-family: 'Titillium Web', sans-serif; } a{ color:#ff5400; } a:hover { opacity: 0.8; color:#ff5400; text-decoration:none; } .kpx_login .kpx_authTitle { text-align: center; line-height: 300%; } .kpx_login .kpx_socialButtons a { color: white; // In yourUse @body-bg opacity:0.9; } .kpx_login .kpx_socialButtons a:hover { color: white; opacity:1; } .kpx_login .kpx_socialButtons .kpx_btn-facebook {background: #3b5998; -webkit-transition: all 0.5s ease-in-out; -moz-transition: all 0.5s ease-in-out; -o-transition: all 0.5s ease-in-out; transition: all 0.5s ease-in-out;} .kpx_login .kpx_socialButtons .kpx_btn-facebook:hover {background: #172d5e} .kpx_login .kpx_socialButtons .kpx_btn-facebook:focus {background: #fff; color:#3b5998; border-color: #3b5998;} .kpx_login .kpx_socialButtons .kpx_btn-twitter {background: #00aced; -webkit-transition: all 0.5s ease-in-out; -moz-transition: all 0.5s ease-in-out; -o-transition: all 0.5s ease-in-out; transition: all 0.5s ease-in-out;} .kpx_login .kpx_socialButtons .kpx_btn-twitter:hover {background: #043d52} .kpx_login .kpx_socialButtons .kpx_btn-twitter:focus {background: #fff; color:#00aced; border-color: #00aced;} .kpx_login .kpx_loginOr { position: relative; font-size: 1.5em; color: #aaa; margin-top: 1em; margin-bottom: 1em; padding-top: 0.5em; padding-bottom: 0.5em; } .kpx_login .kpx_loginOr .kpx_hrOr { background-color: #cdcdcd; height: 1px; margin-top: 0px !important; margin-bottom: 0px !important; } .kpx_login .kpx_loginOr .kpx_spanOr { display: block; position: absolute; left: 50%; top: -0.6em; margin-left: -1.5em; background-color: white; width: 3em; text-align: center; } .kpx_login .kpx_loginForm .input-group.i { width: 2em; } .kpx_login .kpx_loginForm .help-block { color: red; } @media (min-width: 768px) { .kpx_login .kpx_forgotPwd { text-align: right; margin-top:10px; } }

Related: See More


Questions / Comments: