What is the difference between 'container' and 'container-fluid' classes in Bootstrap?
- 'container' is fixed-width, 'container-fluid' is full-width
- 'container' is full-width, 'container-fluid' is fixed-width
- 'container' has a transparent background, 'container-fluid' has a colored background
- 'container' is for text-only, 'container-fluid' is for images
The correct option is 'container' is fixed-width, 'container-fluid' is full-width. The 'container' class provides a fixed-width container, while 'container-fluid' spans the entire width of the viewport.
Loading...
Related Quiz
- How does ScrollSpy update navigation links based on scroll position?
- Which CSS selector specificity is typically required to override Bootstrap's styles?
- The 'justify-content-*-___' class in Bootstrap is used for horizontal alignment of columns.
- What role does Bootstrap play in improving the loading speed of a website, which is a factor in SEO?
- For a seamless integration with Angular, Bootstrap's ___ classes should be utilized within Angular components.