Containers wrap your content and set its width and padding:
.container: a fixed width that changes at each breakpoint.
.container-fluid: always 100% wide.
.container-md: 100% wide until the md breakpoint, then fixed.
Breakpoints
sm ≥576px, md ≥768px, lg ≥992px, xl ≥1200px, xxl ≥1400px.
💡 Key Takeaways: Bootstrap Containers
Mastering Bootstrap Containers helps you write clean and reliable Bootstrap code. Follow standard conventions, test edge cases, and keep logic simple. Try running the code example below and complete the exercises to build confidence.