Private archive copy · Unofficial site · Content copyright belongs to Runoob Tutorial and the original authors · View Original

Bootstrap Input Groups

Bootstrap Input Groups

This chapter explains another feature supported by Bootstrap: input groups. Input groups extend from the form control. With input groups, you can easily add text or buttons as prefixes and suffixes to text-based inputs.

By adding prefix and suffix content to an input field, you can add common elements to user input. For example, you can add a dollar sign, an @ before a Twitter username, or other common elements required by an API.

towards .form-control The steps to add a prefix or suffix element are as follows:

For cross-browser compatibility, avoid using