Answers for "read more dots css"

CSS
0

overflow dots css

.overflow-information{ 
    overflow: hidden;
    display: inline-block;
    text-overflow: ellipsis;
    white-space: nowrap;
  	width:150px; //change based on when you want the dots to appear
}
Posted by: Guest on October-19-2020
0

add three dots to text css

#content{
overflow: hidden;
width:100px;
display: -webkit-box;
-webkit-line-clamp: 3;
-webkit-box-orient: vertical;
}
Posted by: Guest on June-29-2021

Browse Popular Code Answers by Language