I am trying to find a solution to an issue with text-overflow property. I have the following code: https://jsfiddle.net/2m8m3xyp/7/
.wrapper,
.wrapper p {
  font-size: 14px;
  line-height: 14px;
}
.wrapper {
  /* need 10 lines exactly so i go 10 x Line height */
  height: 140px;
  /* that's the width of my container */
  width: 400px;
  overflow: hidden;
  text-overflow: ellipsis;
 /* visibity  */
  border: 1px solid red;
}
I have a div with class="wrapper" and nested
elements with text (unknown number of paragraphs and lines of text in each). I am trying to show maximum of 10 lines of text in that div.wrapper. I want to know if there is a way to set text-overflow: ellipsis on the parent element div.wrapper and if this won't work ever, is there another way to do it - JavaScript maybe?
