"1st_bt_page"
Bootstrap 4.1.1 Snippet by mahdhiali

<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 ----------> <nav class="navbar navbar-expand-lg navbar-light bg-light" style=""> <div class="logo"> <a class="navbar-brand" href="#">Navbar</a> </div> <div class="srch"> <form class="form-inline my-2 my-lg-0"> <input class="form-control mr-sm-2" type="text" placeholder="Search" aria-label="Search"> <button class="btn btn-outline-success my-2 my-sm-0" type="submit">Search</button> </form> </div> <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation"> <span class="navbar-toggler-icon"></span> </button> <div class="collapse navbar-collapse" id="navbarSupportedContent"> <ul class="navbar-nav mr-auto"> <li class="nav-item active"> <a class="nav-link" href="#">Home <span class="sr-only">(current)</span></a> </li> <li class="nav-item"> <a class="nav-link" href="#">Link</a> </li> <li class="nav-item"> <a class="nav-link disabled" href="#">Disabled</a> </li> </ul> </div> </nav> <main> <div class="container"> <div class="row"> <h2>Create your snippet's HTML, CSS and Javascript in the editor tabs</h2> </div> </div> </main>
nav { background-color : black; height : auto; width : 100%; position : fixed; top : 0; margin-bottom : 25px; } .container { max-width : 1080px; } .logo { font-size : 20px; color : white; font-weight : bold; float : left; margin-top : auto; margin-bottom : auto; } .srch { margin-left : 35%; margin-right : 35%; margin-top : 2px; } .srch input { border : none; border-radius : 3px; padding : 3px; font-size : 14; } .srch button { border : none; border-radius : 3px; padding : 3px; font-size : 14; } .toglrg { float : righ; display : block; position : fixed; } .toglrg button { border : none; border-radius : 3px; padding : 3px; font-size : 14; background-color : #fde; } main { margin-top : 40px; }

Related: See More


Questions / Comments: