<div style="position: relaitve;">
<div class="kuromaru" style="width: 50px; height:50px; background-color: #000; border-radius: 50%;"></div>
</div>
.kuromaru{
position: absolute;
top: 50%;;
left: 50%;
margin: auto;
transform: translateX(-50%) translateY(-50%);
}
This Pen doesn't use any external CSS resources.
This Pen doesn't use any external JavaScript resources.