Check out example codes for "text-overflow ellipsis multiple lines". It will help you in understanding the concepts better.

Code Example 1

p {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

Learn ReactJs, React Native from akashmittal.com