"Nav Responsive"
Bootstrap 3.3.0 Snippet by prokash

<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 ----------> <nav class="navbar navbar-default"> <div class="container"> <div class="container-fluid"> <!-- Brand and toggle get grouped for better mobile display --> <div class="navbar-header"> <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1"> <span class="sr-only">Toggle navigation</span> <span class="icon-bar"></span> <span class="icon-bar"></span> <span class="icon-bar"></span> </button> <a class="navbar-brand md_min_3" href="#">Prokash Sarker</a> </div> <!-- Collect the nav links, forms, and other content for toggling --> <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1"> <ul class="nav navbar-nav" > <li class="active"><a href="#" >HOME<span class="sr-only">(current)</span></a></li> <li><a href="#">ABOUTS</a></li> <li><a href="#">WHATWE DO</a></li> <li><a href="#">BENEFITS</a></li> <li><a href="#">NEWS</a></li> <li><a href="#">CONTACTS</a></li> </ul> <form class="navbar-form" role="search"> <div class="form-group"> <input type="text" class="form-control" placeholder="Search...."> </div> </form> </div><!-- /.navbar-collapse --> </div><!-- /.container-fluid --> </div><!-- /.container-fluid --> </nav> <div class="container"> <div class="row"> <form role="form" action="" method="post" > <div class="col-lg-6"> <div class="form-group"> <label for="InputName">Your Name</label> <div class="input-group"> <input type="text" class="form-control" name="InputName" id="InputName" placeholder="Enter Name" required> <span class="input-group-addon"><i class="glyphicon glyphicon-ok form-control-feedback"></i></span></div> </div> <div class="form-group"> <label for="InputEmail">Your Email</label> <div class="input-group"> <input type="email" class="form-control" id="InputEmail" name="InputEmail" placeholder="Enter Email" required > <span class="input-group-addon"><i class="glyphicon glyphicon-ok form-control-feedback"></i></span></div> </div> <div class="form-group"> <label for="InputMessage">Message</label> <div class="input-group" > <textarea name="InputMessage" id="InputMessage" class="form-control" rows="5" required></textarea> <span class="input-group-addon"><i class="glyphicon glyphicon-ok form-control-feedback"></i></span></div> </div> <div class="form-group"> <label for="InputReal">What is 4+3? (Simple Spam Checker)</label> <div class="input-group"> <input type="text" class="form-control" name="InputReal" id="InputReal" required> <span class="input-group-addon"><i class="glyphicon glyphicon-ok form-control-feedback"></i></span></div> </div> <input type="submit" name="submit" id="submit" value="Submit" class="btn btn-info pull-right"> </div> </form> <hr class="featurette-divider hidden-lg"> <div class="col-lg-5 col-md-push-1"> </div> </div> </div>
@media (max-width: 1280px) { .navbar-header { float: none; } .navbar-left,.navbar-right { float: none !important; } .navbar-toggle { display: block; } .navbar-collapse { border-top: 1px solid transparent; box-shadow: inset 0 1px 0 rgba(255,255,255,0.1); } .navbar-fixed-top { top: 0; border-width: 0 0 1px; } .navbar-collapse.collapse { display: none!important; } .navbar-nav { float: none!important; margin-top: 7.5px; } .navbar-nav>li { float: none; } .navbar-nav>li>a { padding-top: 10px; padding-bottom: 10px; } .collapse.in{ display:block !important; } .navbar-collapse.collapse { width: 100%!important; } .navbar-collapse { width: 100%; } }

Related: See More


Questions / Comments: