Css Text-overflow Ellipsis Dots Code Example


Example 1: css ellipsis


div {
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}

Example 2: overflow ellipsis css


.truncate {
width: 250px;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}

Comments

Popular posts from this blog

Converting A String To Int In Groovy

"Cannot Create Cache Directory /home//.composer/cache/repo/https---packagist.org/, Or Directory Is Not Writable. Proceeding Without Cache"

Android How Can I Convert A String To A Editable