How many types of container classes are there in Bootstrap 4?
How many types of container classes are there in Bootstrap 4?
a. 1
b. 2
c. 3
d. None of the above
1 Answers
b. 2
Explanation: In Bootstrap 4, the container class is mainly used for the purpose of setting the margin in order to deal with the responsive behavior of the layout. It is used to create boxed content. There are mainly two types of container classes in Bootstrap, which are:
- .container (fixed-width)
- .container-fluid (full-width)