<p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit.</p>
p {
  background-color: #ddd;
  width: 200px;
  margin: auto;
  padding: 10px;
  
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.