'How can I add a margin with color in bootstrap 4?
I am trying to add a margin with color in bootstrap 4.

Solution 1:[1]
Margins don“t have color, these img look like child inside some html tag and the parent have the background color.
Just put a body background-color style, place a div with other color.
Solution 2:[2]
I dont know if i could understand but maybe that's what you want to achieve:
pick the div you want the margin with color and add this css code:
example
<div class="container" style="border:100px solid #c51a1a;">
</div>
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | Voxxii |
| Solution 2 | Pedro Barreto |
