Answers for "whitespace take 2 lines"

0

whitespace take 2 lines

.giveMeEllipsis {
   overflow: hidden;
   text-overflow: ellipsis;
   display: -webkit-box;
   -webkit-box-orient: vertical;
   -webkit-line-clamp: N; /* number of lines to show */
   line-height: X;        /* fallback */
   max-height: X*N;       /* fallback */
}
Posted by: Guest on June-01-2021

Browse Popular Code Answers by Language