1//Truncate text overflow
2.element {
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