What is the best way to ensure that cards
in a card-group
stay adjacent to each other on smaller screens?
Currently, they are grouped together on larger screens but appear separated on smaller screens. I am currently hiding the additional cards on smaller screens and would like to keep the first ones grouped together.
At the moment, the cards
start separating under 575px.
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/<a href="/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="fb9994948f888f899a8bbbced5cad5c8">[email protected]</a>/dist/css/bootstrap.min.css" integrity="sha384-1BmE4kWBq78iYhFldvKuhfTAU6auU8tT94WrHftjDbrCEXSU1oBoqyl2QvZ6jIW3" crossorigin="anonymous">
<div class="container-fluid">
<div class="card-group">
<div class="card">
...
</div>
<div class="card">
...
</div>
<div class="card">
...
</div>
<div class="card d-none d-md-block">
...
</div>
<div class="card d-none d-lg-block">
...
</div>
<div class="card d-none d-xl-block">
...
</div>
</div>
</div>
Is there a way to display the first three cards
as attached on small screens?