Answers for "make a p two lines css"

CSS
0

2 lines p css

.text {
   overflow: hidden;
   text-overflow: ellipsis;
   display: -webkit-box;
   -webkit-line-clamp: 2; /* number of lines to show */
           line-clamp: 2; 
   -webkit-box-orient: vertical;
}
Posted by: Guest on March-24-2022
0

html css make p div into two lines

line-height:20px;
height:40px;

overflow:hidden;
white-space: pre;
Posted by: Guest on February-15-2020

Browse Popular Code Answers by Language