<!DOCTYPE html>
<style>
#container {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  font-size: 20px;
  width: 10ch;
}
</style>
<body>
  <div id="container">
    abc def ghi jkl mno pqr stu vwx yz
    123 456 789
  </div>
</body>
