Hi all I have following code: my code
How can I show only first two row?
I try this:
.wrapper {
border: 1px solid blue;
width: 608px;
}
.text {
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}
<div class="wrapper">
<div class="text">
Since the introduction of inkjet printing is in the latter half of the
1980s, inkjet printers have grown in popularity and performance while
dropping significantly in price. Since the introduction of inkjet
printing is in the latter half of the 1980s, inkjet printers have grown
in popularity and performance while dropping significantly in price.
</div>
</div>
but it only show first row, but I need only two