Nearby lessons

34 of 39

πŸ”½ BS5 Select Menus

πŸ“Œ What Are Bootstrap 5 Select Menus?

Style <select> with .form-select for a custom look. Use .form-label for the label and wrap in a .mb-3 group. For multiple selection, add the multiple attribute.

πŸ”½ Basic Select (.form-select)

.form-select – replaces default select styling with Bootstrap’s (border, padding, arrow). Use on <select>. Pair with .form-label and <option> elements.

πŸ…±οΈ

bootstrap Designer

Live Component Playground

html Source
Loading...
Built with Bootstrap 5.3 β€’ Enterprise Ready

πŸ“ Select Sizes (.form-select-lg, .form-select-sm)

.form-select-lg – larger select. .form-select-sm – smaller. Add to the same element as .form-select.

πŸ…±οΈ

bootstrap Designer

Live Component Playground

html Source
Loading...
Built with Bootstrap 5.3 β€’ Enterprise Ready

βœ… Select Best Practices

  • Use .form-select instead of .form-control for <select>.
  • Use .form-label and for / id for accessibility.

🧠 Test Your Knowledge

2 Questions

Progress: 0 / 2
Keep Going!BS5 Checks and Radios