Search
 
SCRIPT & CODE EXAMPLE
 

HTML

bootstrap 5 input group

<div class="input-group mb-3">
  <input type="text" class="form-control" placeholder="Recipient's username" aria-label="Recipient's username" aria-describedby="button-addon2">
  <button class="btn btn-outline-secondary" type="button" id="button-addon2">Button</button>
</div>
Comment

input button group

<div class="input-group mb-3">
  <div class="input-group-prepend">
    <button class="btn btn-outline-secondary" type="button"><i class="fa fa-right-arrow"></i></button>
  </div>
  <input type="text" class="form-control" placeholder="" aria-label="" aria-describedby="basic-addon1">
</div>

<div class="input-group mb-3">
  <input type="text" class="form-control" placeholder="Recipient's username" aria-label="Recipient's username" aria-describedby="basic-addon2">
  <div class="input-group-append">
    <button class="btn btn-outline-secondary" type="button">Button</button>
  </div>
</div>

<div class="input-group mb-3">
  <div class="input-group-prepend">
    <button class="btn btn-outline-secondary" type="button">Button</button>
    <button class="btn btn-outline-secondary" type="button">Button</button>
  </div>
  <input type="text" class="form-control" placeholder="" aria-label="" aria-describedby="basic-addon1">
</div>

<div class="input-group">
  <input type="text" class="form-control" placeholder="Recipient's username" aria-label="Recipient's username" aria-describedby="basic-addon2">
  <div class="input-group-append">
    <button class="btn btn-outline-secondary" type="button">Button</button>
    <button class="btn btn-outline-secondary" type="button">Button</button>
  </div>
</div>
Comment

group inputs html

<form>
  <fieldset>
     <legend>1st field set:</legend>
     Field one:<br>
     <input type="text"><br>
     Field two:<br>
     <input type="text"><br>
  </fieldset><br>
  <fieldset>
     <legend>2nd field set:</legend>
     Field three:<br>
     <input type="text"><br>
     Field four:<br>
     <input type="text"><br>
  </fieldset><br>
  <input type="submit" value="Submit">
</form>
Comment

input group

<div class="input-group mb-3">
  <button class="btn btn-outline-secondary" type="button" id="button-addon1">Button</button>
  <input type="text" class="form-control" placeholder="" aria-label="Example text with button addon" aria-describedby="button-addon1">
</div>

<div class="input-group mb-3">
  <input type="text" class="form-control" placeholder="Recipient's username" aria-label="Recipient's username" aria-describedby="button-addon2">
  <button class="btn btn-outline-secondary" type="button" id="button-addon2">Button</button>
</div>

<div class="input-group mb-3">
  <button class="btn btn-outline-secondary" type="button">Button</button>
  <button class="btn btn-outline-secondary" type="button">Button</button>
  <input type="text" class="form-control" placeholder="" aria-label="Example text with two button addons">
</div>

<div class="input-group">
  <input type="text" class="form-control" placeholder="Recipient's username" aria-label="Recipient's username with two button addons">
  <button class="btn btn-outline-secondary" type="button">Button</button>
  <button class="btn btn-outline-secondary" type="button">Button</button>
</div>
Comment

input groups

<form role="form" class="form-horizontal">
<div class="mb-15 row">
<label class="col-sm-2 col-form-label" for="example-input-small">Small</label>
<div class="col-sm-10">
    <input type="text" id="example-input-small" name="example-input-small"
        class="form-control form-control-sm" placeholder=".input-sm">
</div>
</div>

<div class="mb-15 row">
<label class="col-sm-2 col-form-label" for="example-input-normal">Normal</label>
<div class="col-sm-10">
    <input type="text" id="example-input-normal" name="example-input-normal"
        class="form-control" placeholder="Normal">
</div>
</div>

<div class="mb-15 row">
<label class="col-sm-2 col-form-label" for="example-input-large">Large</label>
<div class="col-sm-10">
    <input type="text" id="example-input-large" name="example-input-large"
        class="form-control form-control-lg" placeholder=".input-lg">
</div>
</div>

<div class="mb-15 row">
<label class="col-sm-2 col-form-label">Grid Sizes</label>
<div class="col-sm-4">
    <input type="text" class="form-control" placeholder=".col-sm-4">
</div>
</div>

<div class="mb-15 row">
<label class="col-sm-2 col-form-label">Static</label>
<div class="col-sm-10">
    <div class="input-group">

        <span class="input-group-text" id="basic-addon1">@</span>

        <input type="text" class="form-control" placeholder="Username" aria-label="Username"
            aria-describedby="basic-addon1">
    </div>
</div>
</div>

<div class="mb-15 row">
<label class="col-sm-2 col-form-label">Dropdowns</label>
<div class="col-sm-10">
    <div class="input-group mb-3">
        
            <button class="btn btn-primary  dropdown-toggle" type="button"
                data-toggle="dropdown" aria-haspopup="true"
                aria-expanded="false">Dropdown</button>
            <div class="dropdown-menu">
                <a class="dropdown-item" href="#">Action</a>
                <a class="dropdown-item" href="#">Another action</a>
                <a class="dropdown-item" href="#">Something else here</a>
                <div role="separator" class="dropdown-divider"></div>
                <a class="dropdown-item" href="#">Separated link</a>
            </div>
        
        <input type="text" class="form-control" placeholder="" aria-label=""
            aria-describedby="basic-addon1">
    </div>

</div>
</div>

<div class="mb-15 row mb-0">
<label class="col-sm-2 col-form-label">Buttons</label>
<div class="col-sm-10">
    <div class="input-group">
        <input type="text" class="form-control" placeholder="Recipient's username"
            aria-label="Recipient's username" aria-describedby="basic-addon2">
        
            <button class="btn btn-dark" type="button">Button</button>
        
    </div>
</div>
</div>

</form>
                    
Comment

PREVIOUS NEXT
Code Example
Html :: navbar in rows in bootstrap 
Html :: default php version ubuntu 20.04 
Html :: remove active class from all li javascript 
Html :: html input time default value 
Html :: ONLINE VIDEO CALL FOR MY WEBSITE CODE 
Html :: image carousel output 
Html :: how to add site logo in wordpress 
Html :: change text color in bootstrap 
Html :: form action delete 
Html :: html code editor 
Html :: gjgug 
Html :: html5ap 
Html :: petition to get rid of pigeons 
Html :: crear select jsp java 
Html :: Impossible to create the root directory "/var/www/html/laraship-subscription/storage/app/public/media/user_v1oz1Yz27j/26 
Html :: image in html 
Html :: jokes 
Html :: how many types of error in html 
Html :: how to put in text chess pieces in HTML 
Html :: jinja2 html attributes 
Html :: c# how to get src from html img 
Html :: how to add extra line in html 
Html :: crear un nuevo email en html para reply to 
Html :: Collapse all diffs in a pull request at once 
Html :: animated dot html 
Html :: membuat navbar html sederhana 
Html :: how to switch between read only input in html 
Html :: a tag target 
Html :: how to disable past date in input type date 
Html :: table align center not working in github 
ADD CONTENT
Topic
Content
Source link
Name
9+5 =