Check out example codes for "css paragraph ellipsis". It will help you in understanding the concepts better.

Code Example 1

max-width: 100px;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;

Code Example 2

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

Learn ReactJs, React Native from akashmittal.com