css limit line text

Solutions on MaxInterview for css limit line text by the best coders in the world

showing results for - "css limit line text"
Roberto
27 Sep 2018
1.text {
2   overflow: hidden;
3   text-overflow: ellipsis;
4   display: -webkit-box;
5   -webkit-line-clamp: 2; /* number of lines to show */
6   -webkit-box-orient: vertical;
7}