Bootstrap class: .mx-1 / mx-*-#

<div class="mx-0 bg-primary d-inline-block">Spaced Div</div>
<div class="mx-1 bg-primary d-inline-block">Spaced Div</div>
<div class="mx-2 bg-primary d-inline-block">Spaced Div</div>
<div class="mx-3 bg-primary d-inline-block">Spaced Div</div>
<div class="mx-4 bg-primary d-inline-block">Spaced Div</div>
<div class="mx-5 bg-primary d-inline-block">Spaced Div</div>

<!-- respsonsive viariations -->
<div class="mx-sm-5 d-inline-block bg-primary">Spaced Div</div>
<div class="mx-md-5 d-inline-block bg-primary">Spaced Div</div>
<div class="mx-lg-5 d-inline-block bg-primary">Spaced Div</div>
<div class="mx-xl-5 d-inline-block bg-primary">Spaced Div</div>

Preview

Spaced Div
Spaced Div
Spaced Div
Spaced Div
Spaced Div
Spaced Div
Spaced Div
Spaced Div
Spaced Div
Spaced Div

More in Bootstrap Spacing