<div class="container">
  <div class="pre-wrap">
Lorem ipsum         dolor sit amet, consectetur adipiscing elit. 
    Praesent nec facilisis velit. Curabitur eu justo interdum, elementum tellus nec, dictum justo. 
          Fusce sit amet leo metus. Integer ante nisl,   auctor eget ante sit amet, aliquet        pulvinar neque. Nunc pulvinar lectus neque, sit amet posuere orci aliquam ac.   
  </div>
</div>
.pre-wrap {
  white-space: pre-wrap;
}
View Compiled

External CSS

  1. https://cdnjs.cloudflare.com/ajax/libs/normalize/5.0.0/normalize.min.css
  2. https://codepen.io/gregh/pen/jyNrJW.css

External JavaScript

This Pen doesn't use any external JavaScript resources.