Is there a way to create a card grid inside a container using Bootstrap 4? I'm having trouble understanding how to add text in the container if the text is within a div (card).
<section class="second__offers">
<div class="container">
<div class="card-group">
<div class="card text-black">
<img class="card-img-top" src="img/service-1.jpg" alt="Card image top">
<div class="card-img-overlay">
<h3 class="card-title">Card title</h3>
<h4 class="card-subtitle">Card subtitle</h4>
<p class="card-text">This is a simple Card example</p>
<a href="#" class="btn btn-primary service-btn">About</a>
</div>
</div>
<div class="card text-black">
<img class="card-img-top" src="img/service-2.jpg" alt="Card image top">
<div class="card-img-overlay">
<h3 class="card-title">Card title</h3>
<p class="card-text">This is a simple Card example</p>
<a href="#" class="btn btn-primary service-btn">About</a>
</div>
</div>
<div class="card text-black">
<img class="card-img-top" src="img/service-3.jpg" alt="Card image top">
<div class="card-img-overlay">
<h3 class="card-title">Card title</h3>
<p class="card-text">This is a simple Card example</p>
<a href="#" class="btn btn-primary service-btn">About</a>
</div>
</div>
</div>
<div class="card-group">
...
</div>
</div>
</section>
example: https://i.sstatic.net/oYUyH.jpg