Description

There is a design trend to have horizontal background colors with the content set to a max-width. The way I achieve this effect is using a section tag with a background color set to it.

section.bg-primary > .container > .row > .col-sm-6

Want to Master Bootstrap 4?

Are you brand new to Bootstrap or want to migrate from version 3 to version 4?

Get templates, project code samples, videos, and reference guides to help you get started quickly.

Choose Training

HTML

CSS