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 Save Time Using Bootstrap 4?

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

Learn More

HTML

CSS