What is the difference between container and container-fluid?

.container.container-fluid
Fixed max width at each breakpoint (540, 720, 960, 1140, 1320px)Always 100% of the screen width
Centered with auto side marginsFull width
For normal pagesFor dashboards and full width layouts

There are also responsive containers like .container-md, which are 100% wide below the breakpoint. See Containers.


Learn more about the similar topics:
Tutorials
No Content Found.
Exercises & Assignments
No Content Found.
Interview Questions & Answers
No Content Found.