1//Truncate text overflow
2.element {
3 white-space: nowrap;
4 overflow: hidden;
5 text-overflow: ellipsis;
6}
1{
2 width: 250px;
3 white-space: nowrap;
4 overflow: hidden;
5 text-overflow: ellipsis;
6}
1.element{
2
3 text-overflow: ellipsis;
4
5 /* Required for text-overflow to do anything */
6 white-space: nowrap;
7 overflow: hidden;
8}
9
1max-width: 100px;
2white-space: nowrap;
3overflow: hidden;
4text-overflow: ellipsis;
1display: -webkit-box;
2-webkit-line-clamp: 3;
3-webkit-box-orient: vertical;
4overflow: hidden;
5text-overflow: ellipsis;