Schrumpfung Div zu Inhalten einfügen

.centerBox {
  display:inline-block;
  text-align:center;
}


<div class="centerBox">
  Some text
</div>
Studious Gamer