<div class="one-div"></div>
.one-div-container { position: relative; height: 500px; width: 100%; display: flex; justify-content: center; align-items: center; background-color: #000000; } .one-div { width: 200px;