how to make bootstrap cards centered
<div class="mx-auto" style="width: 200px;">
Centered element
</div>
how to make bootstrap cards centered
<div class="mx-auto" style="width: 200px;">
Centered element
</div>
center bootstrap card
<div class="container h-100">
<div class="row align-items-center h-100">
<div class="col-6 mx-auto">
<div class="card h-100 border-primary justify-content-center">
<div>
...card content...
</div>
</div>
</div>
</div>
</div>
center card in bootstrap stack overflow
.card {
margin: 0 auto; /* Added */
float: none; /* Added */
margin-bottom: 10px; /* Added */
}
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us