CENTER_DIV
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.1.1/dist/css/bootstrap.min.css" rel="stylesheet"/>
<div class="container d-flex align-items-center justify-content-center">
<div>
<h1>You Div</h1>
</div>
</div>
Run code snippetHide results
Seth Ansah Tetteh