I am attempting to utilize the card-deck feature with cards arranged in the following manner :
- The card-deck is centered in a column
- The card-deck adjusts to fit the content width (currently, it always spans 100% width, even when using width: auto)
- The cards inside the card-deck are left-aligned
I have created a simple codepen for testing purposes and have tried various approaches without achieving the desired behavior... Please see https://codepen.io/studio-matavai/pen/zYBeQOX
<div class="row">
<div class="col-12">
<div class="card-deck">
<div class="card">
<div class="card-body">
poipoipio
</div>
</div>
<div class="card">
<div class="card-body">
poipoipio
</div>
</div>
<!-- additional card elements here -->
</div>
</div>
</div>
Does anyone have the solution for this particular issue?
Thank you.
----- EDIT -----