Oct 7, 2019 in Bootstrap
Q: Explain input group in Bootstrap.

1 Answer

0 votes
Oct 10, 2019
Input group in bootstrap are put out from controls. By using an input group, we can easily add prepended and appended text or button to the text-based inputs.

We can prepend and append elements to a .form-control by taking all the elements in a <div> under a class .input-group. After that, place your extra content inside a <span> in same <div> by using class .input-group-addon after this you can place the <span> element either before or after the input element.

Related questions

+2 votes
Jun 1, 2020 in Bootstrap
0 votes
Oct 30, 2020 in Bootstrap