"form bootstrap"
Bootstrap 4.1.1 Snippet by DoanNgocThanh

<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 ----------> <!DOCTYPE html> <html lang="en"> <head> <title>Bootstrap Example</title> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css"> <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script> <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script> </head> <body> <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script> <div class="container" style="border: 1px blue solid;background-color: black"> <a href="#" class="showdn"> <p style="color:green">login <p> <a> <form class="dn"> <div class="input-group"> <span class="input-group-addon"><i class="glyphicon glyphicon-user"></i></span> <input id="email" type="text" class="form-control" name="text" placeholder="UserName"> </div> <div class="input-group"> <span class="input-group-addon"><i class="glyphicon glyphicon-lock"></i></span> <input id="password" type="password" class="form-control" name="password" placeholder="Password"> </div> <br> <div class="input-group"> <button class="form-control" name="msg">Login</button> </div> </form> <br> <a href="#" class="showdk"> <p style="color:green">login <p> <a> <form class="dk"> <div class="input-group"> <input id="email" type="text" class="form-control" name="email" placeholder="Email"> <span class="input-group-addon"><i class="glyphicon glyphicon-user"></i></span> </div> <div class="input-group"> <input id="password" type="password" class="form-control" name="password" placeholder="Password"> <span class="input-group-addon"><i class="glyphicon glyphicon-lock"></i></span> </div> </form> </div> <script> $(document).ready(function() { $(".dn").hide(); $(".dk").hide(); }); $(document).ready(function() { $(".showdn").click(function() { $(".dn").toggle(500); }); }); $(document).ready(function() { $(".showdk").click(function() { $(".dk").toggle(500); }); }); </script> </body> </html>

Related: See More


Questions / Comments: