<div class="thing"></div>
.thing {
    margin-inline: auto;
    background-color: #4A90E2;
    width: 100px;
    height: 100px;
}

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.