Answers for "css add dots"

-1

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
0

css text dots

.cut-text { 
  text-overflow: ellipsis;
  overflow: hidden; 
  width: 160px; 
  height: 1.2em; 
  white-space: nowrap;
}
Posted by: Guest on January-16-2022

Browse Popular Code Answers by Language