<div class="box">
  Lorem ipsum dolor sit amet consectetur adipisicing elit Ab unde doloremque aspernatur recusandae harum nulla assumenda praesentium facere blanditiis qui quam magni perferendis fugiat est, provident animi tenetur doloribus corporis?
</div>
body {
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  min-height: 100vh;
  line-height: 1.5;
}

.box {
  width: 200px;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.