DEV Community

Calvin
Calvin

Posted on

3 1

🎥 Video Snippets: [4 => Bootstrap] 🥾

Containers are the most basic layout component in Bootstrap 4. They wrap content, providing basic padding and margin to go around content. They also help to centre content.

There are two types of containers- fluid and fixed. A fixed container always has a maximum width and is centred on the page. The maximum width changes depending on the breakpoint of the viewport. A fluid container is always 100% of the viewport width or its surrounding container if it has a max-width property on it.

Source: Bootstrap 4 Tutorial #4 - Containers

Top comments (0)

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay