Apologies for the vague title, I'm unsure how to properly label my issue.
I have a section set up with cards, but I'm aiming to create something resembling a menu that functions like a carousel. Essentially, I want to include right and left arrows that, when clicked, reveal more cards in a sliding motion. Although it sounds similar to a carousel, I haven't been able to achieve the desired effect yet. Here's an example image of what I'm envisioning:
https://i.sstatic.net/My59v.jpg
<section id="tres">
<h1> TEST </h1>
<hr>
<div id="cards02">
<div class="card" style="width: 25rem;" id="card-1">
<img class="card-img-top" src="idosa.png" alt="Card image cap">
<div class="card-body">
<h4 class="card-title">TEST
</h4>
<h6> 13 Outubro 2017</h6>
<p class="card-text">TEST TEST TEST </p>
<a href="#" class="btn btn-primary">TEST </a>
</div>
</div>
<div class="card" style="width: 25rem;" id="card-2">
<img class="card-img-top" src="idosa.png" alt="Card image cap">
<div class="card-body">
<h4 class="card-title">TEST TEST TEST
</h4>
<h6> 13 Outubro 2017</h6>
<p class="card-text">TEST TEST TEST </p>
<a href="#" class="btn btn-primary">TEST </a>
</div>
</div>
<div class="card" style="width: 25rem;" id="card-3">
<img class="card-img-top" src="idosa.png" alt="Card image cap">
<div class="card-body">
<h4 class="card-title">>TEST TEST TEST
</h4>
<h6> 13 Outubro 2017</h6>
<p class="card-text">TEST </p>
<a href="#" class="btn btn-primary">TEST</a>
</div>
</div>
</div>
</section>