• Home
  • Recent Q&A
  • Java
  • Cloud
  • JavaScript
  • Python
  • SQL
  • PHP
  • HTML
  • C++
  • Data Science
  • DBMS
  • Devops
  • Hadoop
  • Machine Learning
in Bootstrap by
Q:
Explain input group in Bootstrap.

1 Answer

0 votes
by
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
asked Jun 1, 2020 in Bootstrap by SakshiSharma
0 votes
asked Oct 30, 2020 in Bootstrap by sharadyadav1986
...