Bootstrap Select - How to use Bootstrap-Select for Dropdown
Bootstrap Select
- Customize the native <select>s with custom CSS that changes the element’s initial appearance.
- Custom <select> menus need only a custom class, .form-select to trigger the custom styles. Custom styles are limited to the <select>’s initial appearance and cannot modify the <option>s due to browser limitations.
Sample Code
Output
Bootstrap Select Sizing Example 1
- You may also choose from small and large custom selects to match our similarly sized text inputs.
Sample Code
Output
Bootstrap Select Sizing Example 2
- The multiple attribute is also supported.
Sample Code
Output
Bootstrap Select Sizing Example 3
- As is the size attribute.
Sample Code
Output
Bootstrap Select Disabled
- Add the disabled boolean attribute on a select to give it a grayed out appearance and remove pointer events.