Last active
March 19, 2021 23:56
-
-
Save ahmad19/d2b854d9a13cc8db7c8a8cb6ac5fad00 to your computer and use it in GitHub Desktop.
Bootstrap 5's floating label with input group buttons
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="btn-toolbar mb-2" role="toolbar" aria-label="Toolbar with button groups"> | |
<div class="col-md-10"> | |
<div class="form-floating"> | |
<input type="email" class="form-control" id="floatingInput" placeholder="[email protected]"> | |
<label for="floatingInput">Search Customer</label> | |
</div> | |
</div> | |
<div class="col-md-2 text-center"> | |
<div class="btn-group mt-1" role="group" aria-label="First group"> | |
<button class="btn btn-light btn-lg btn-outline-primary" type="button"> | |
<i class="fa fa-search"></i> | |
</button> | |
<button class="btn btn-light btn-lg btn-outline-primary" type="button"> | |
<i class="fa fa-search"></i> | |
</button> | |
<button class="btn btn-light btn-lg btn-outline-primary" type="button"> | |
<i class="fa fa-search"></i> | |
</button> | |
</div> | |
</div> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment