"bootstrap4 search"
Bootstrap 4.0.0 Snippet by parvatheesamthokala

<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="//cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script> <!------ Include the above in your HEAD tag ----------> <html> <head> <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous"> <script src="https://code.jquery.com/jquery-3.2.1.slim.min.js" integrity="sha384-KJ3o2DKtIkvYIK3UENzmM7KCkRr/rE9/Qpg6aAZGJwFDMVNA/GpGFF93hXpG5KkN" crossorigin="anonymous"></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.9/umd/popper.min.js" integrity="sha384-ApNbgh9B+Y1QKtv3Rn7W3mgPxhU9K/ScQsAP7hUibX39j7fakFPskvXusvfa0b4Q" crossorigin="anonymous"></script> <script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js" integrity="sha384-JZR6Spejh4U02d8jOt6vLEHfe/JQGiRRSQQxSfFWpi1MquVdAyjUar5+76PVCmYl" crossorigin="anonymous"></script> </head> <!--include the above tags--> <body> <div class="container"> <div class="row"> <div class="col-md-12"> <h1>THis is the New Model search bar</h1> </div> <div class="col-md-2"> <div class="input-group"> <div class="search-sec"> <input class="form-control" type="search" value="" placeholder="search"> </div> <div class="search-out"> <button class="search"><i>PAL</i></button> </div> </div> </div> </div> </div> </body> </html>
.search-sec{ width: 150px; box-shadow: none; margin-top: 5px; } .search-sec .form-control{ box-shadow: none; border-right: none; } .search-sec .form-control:focus{ box-shadow:none; } .search-out{ border-radius: 50%; width: 50px; height: 50px; border: 2px solid black; position: absolute; left: 140px; padding: 3px; } .search{ border-radius: 50%; margin: 0px; position: relative; width: 40px; height: 40px; border: 3px solid #fff; background-color: #0000ff; color: #fff; padding: 0px; }

Related: See More


Questions / Comments: