<div class="card shadow" style="width: 400px">
<div class="card-body">
<div class="text-left mb-3">
<a href="#" class="btn btn-primary">Left align</a>
</div>
<div class="text-center">
<a href="#" class="btn btn-primary">Center align</a>
</div>
<div class="text-right mb-3">
<a href="#" class="btn btn-primary">Right align</a>
</div>
</div>
</div>
body {padding: 20px}