.center {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 50%;
}

div {
    background-color: #222;
    color: #fff;
    font: italic smaller sans-serif;
    padding: 3px;
    text-align: center;
}



