How many types of container classes are there in Bootstrap 4?

Questions & AnswersCategory: Programming LanguageHow many types of container classes are there in Bootstrap 4?
1 Answers
Lokesh Kumar Staff answered 3 years ago

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:

  1. .container (fixed-width)
  2. .container-fluid (full-width)