<div class="parent">
  <div class="child">Lorem ipsum dolor sit amet, consectetur adipisicing elit. At quisquam iusto tempora vel, quia consequuntur.</div>
</div>
* {
  margin: 0;
  padding: 0;
}
body {
  max-width: 800px;
  margin: 2em auto;
  padding: 0 20px;
}



.parent {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 4em 0;
  border: 1px solid #aaa;
}
.child {
  width: 50%;
  color: #222;
  font-family: 'Open Sans', sans-serif;
  font-weight: 400;
}

External CSS

  1. https://fonts.googleapis.com/css?family=Open+Sans:400,300

External JavaScript

This Pen doesn't use any external JavaScript resources.