cara memusatkan elemen html di bootstrap 5

<!--Grid row-->
<div class="row d-flex justify-content-center">
  <!--Grid column-->
  <div class="col-md-6">
    This column is centered
  </div>
  <!--Grid column-->
</div>
<!--Grid row-->
Sparkling Stoat