are created with the .alert class, followed by one of the contextual classes
Alert
What are the alert classes?
.alert-success
.alert-info
.alert-warning
.alert-danger
.alert-primary
.alert-secondary
.alert-light
.alert-dark.
All textual < input > and < textarea > elements with class _______ get proper form styling.
.form-control
we add a __________ class to each label element to ensure correct padding.
.form-label
__________ have different markup. They are wrapped around a container element with .form-check, and labels have a class of .form-check-label, while checkboxes and radio buttons use .form-check-input.
Checkboxes
If you want your form elements to appear side by side, use _____ and _____
.row and .col
You can change the size of .form-control inputs with .form-control-lg or .form-control-sm.
Form Control Size
are used if you want to allow the user to pick from multiple options.
Select Menus
To style a _______ in Bootstrap 5, add the .form-select class to the < select > element:
Select Menu
Use the .form-select-lg or .form-select-sm class to change the size of the select menu:
Select Menu Size
Bootstrap 5 provides different styles of buttons.
Bootstrap Buttons
The button classes can be used on < a >, < button >, or < input > elements.
Bootstrap Buttons
Bootstrap 5 also provides eight outline/bordered buttons.
Boostrap Button Outline
Move the mouse over them to see an additional “hover” effect.
Boostrap Button Outline
Use the ________ for large buttons
.btn-lg class
for small buttons
.btn-sm class
can be set to an active (appear pressed) or a disabled (unclickable) state.
Button
The class _____ makes a button appear pressed
.active
the ___________ makes a button unclickable.
.disabled
Note that < a > elements do not support the _________ and must therefore use the .disabled class to make it visually appear disabled.
disabled attribute
A basic Bootstrap 5 ______ has a light padding and horizontal dividers.
Table
The _________ adds basic styling to a table:
.table class
The _________ adds zebra-stripes to a table:
.table-striped class
The __________ adds borders on all sides of the table and cells
.table-bordered class